1
1
mirror of https://github.com/tweag/nickel.git synced 2024-09-20 16:08:14 +03:00
nickel/website/gatsby-node.js
2021-07-02 10:05:18 +02:00

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,
},
})
};