Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

Commit

Permalink
Update webpack.dev.js
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingrv committed Apr 5, 2023
1 parent feb19e2 commit 7d91981
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,21 @@ module.exports = merge(common, {
{
test: /\.jsx?$/,
exclude: /(node_modules)/,
use: {
loader: 'swc-loader',
options: {
jsc: {
transform: {
react: {
development: true,
refresh: true,
use: [
{
loader: 'swc-loader',
options: {
jsc: {
transform: {
react: {
development: true,
refresh: true,
},
},
},
},
},
},
],
},
{
test: /\.css$/i,
Expand Down

0 comments on commit 7d91981

Please sign in to comment.