From 525e342f9bd4772c5d13f7234727f79e12e84e7b Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 15 Jul 2021 20:39:36 +0200 Subject: [PATCH] Update webpack.config.base.js --- webpack.config.base.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/webpack.config.base.js b/webpack.config.base.js index a4d958043..88acf7bbf 100644 --- a/webpack.config.base.js +++ b/webpack.config.base.js @@ -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',