Refactor entrypoints

This commit is contained in:
Nick Gerleman
2022-12-23 23:49:35 -08:00
parent c829abf257
commit 0a82167c30
13 changed files with 48 additions and 22 deletions

View File

@@ -8,4 +8,4 @@
*/
const asm = require('../build/asmjs-async');
module.exports = require("../entryAsync")(asm);
module.exports = require("./entryAsync")(asm);

View File

@@ -8,4 +8,4 @@
*/
const asm = require('../build/asmjs-sync');
module.exports = require("../entrySync")(asm);
module.exports = require("./entrySync")(asm);

View File

@@ -8,4 +8,4 @@
*/
const asm = require('../build/wasm-async');
module.exports = require("../entryAsync")(asm);
module.exports = require("./entryAsync")(asm);

View File

@@ -8,4 +8,4 @@
*/
const asm = require('../build/wasm-sync');
module.exports = require("../entrySync")(asm);
module.exports = require("./entrySync")(asm);

View File

@@ -8,4 +8,4 @@
*/
// Fallback for when the export map is not followed
module.exports = require('./variants/asmjs-async');
module.exports = require('./entrypoint/asmjs-async');

View File

@@ -8,4 +8,4 @@
*/
// Fallback for when the export map is not followed
module.exports = require('./variants/asmjs-sync');
module.exports = require('./entrypoint/asmjs-sync');