diff --git a/.config/webpack/webpack.config.ts b/.config/webpack/webpack.config.ts index 53a8805..b3ba675 100644 --- a/.config/webpack/webpack.config.ts +++ b/.config/webpack/webpack.config.ts @@ -197,14 +197,14 @@ const config = async (env): Promise => { modules: [path.resolve(process.cwd(), 'src'), 'node_modules'], unsafeCache: true, }, - }; + } - if (isWSL()) { + if(isWSL()) { baseConfig.watchOptions = { poll: 3000, ignored: /node_modules/, - }; - } + }} + return baseConfig;