mirror of
https://github.com/tweag/nickel.git
synced 2024-09-20 16:08:14 +03:00
9 lines
261 B
JavaScript
9 lines
261 B
JavaScript
exports.onCreateWebpackConfig = ({ _stage, actions, _loaders }) => {
|
|
actions.setWebpackConfig({
|
|
experiments: {
|
|
// This was necessary to have the Nickel WASM REPL work with Webpack
|
|
asyncWebAssembly: true,
|
|
},
|
|
})
|
|
};
|