17 lines
269 B
JavaScript
17 lines
269 B
JavaScript
|
const path = require('path');
|
||
|
|
||
|
module.exports = {
|
||
|
entry: './src/main.mjs',
|
||
|
output: {
|
||
|
path: path.resolve(__dirname, 'dist'),
|
||
|
filename: 'bundle.js',
|
||
|
},
|
||
|
experiments: {
|
||
|
syncWebAssembly: true,
|
||
|
topLevelAwait: true,
|
||
|
},
|
||
|
resolve: {
|
||
|
fullySpecified: false,
|
||
|
},
|
||
|
};
|