module.exports = {
mode: 'development',
entry: {
app: './src/converter.ts',
sw: './src/sw.js',
},
module: {
rules: [
{ test: /.ts$/, use: 'ts-loader', exclude: /node_modules/ },
{ test: /\.wasm$/, type: 'asset/inline' }
],
};