Update webpack.config.base.js
This commit is contained in:
parent
8b267ba947
commit
525e342f9b
|
@ -43,9 +43,11 @@ export const jsConfig = () => {
|
|||
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',
|
||||
|
|
Loading…
Reference in New Issue