A set of utilities required to run an AUX in Deno.
- Install the NPM package
npm install @casual-simulation/aux-vm-deno
- Add the
DenoEntry.ts
file to your Webpack config:
entry: {
deno: path.resolve(
__dirname,
'node_modules',
'@casual-simulation',
'aux-vm-deno',
'vm',
'DenoEntry.ts'
),
},
- Specify a specific output filename for the
deno
bundle.
output: {
filename: (pathData) => {
return pathData.chunk.name === 'deno' ? '[name].js' : '[name].[contenthash].js';
},
}