Update webpack.config.e2e.js

This commit is contained in:
Matthieu MOREL 2021-07-15 20:41:04 +02:00 committed by GitHub
parent 525e342f9b
commit 9870121f01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -40,9 +40,11 @@ module.exports = {
resolve: {
extensions: ['.wasm', '.mjs', '.js', '.json', '.jison']
},
node: {
fs: 'empty' // jison generated code requires 'fs'
},
resolve: {
fallback: {
fs: false // jison generated code requires 'fs'
}
},
output: {
path: path.join(__dirname, './dist/'),
filename: '[name].js',