Skip to content

Commit

Permalink
fix: dev mode (#2683)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wroud authored Jun 3, 2024
1 parent c216a77 commit 5579970
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion webapp/packages/core-cli/configs/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,17 @@ module.exports = (env, argv) => {
devMode && {
test: /\.jsx?$/,
exclude: /node_modules/,
use: ['thread-loader', 'swc-loader'],
use: [
'thread-loader',
{
loader: 'swc-loader',
options: {
jsc: {
target: 'esnext',
},
},
},
],
},
{
test: /\.(css|s[ac]ss)$/,
Expand Down

0 comments on commit 5579970

Please sign in to comment.