Skip to content

Commit

Permalink
Fix React Modules (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
theaubmov authored Apr 19, 2024
1 parent 50956e4 commit 417d28e
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 4 deletions.
37 changes: 34 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@
"min-dash": "^3.8.1",
"min-dom": "^3.2.1",
"moddle": "^5.0.3",
"react": "^18.2.0",
"react-dom": "18.2.0",
"tiny-svg": "^2.2.3"
}
}
5 changes: 4 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
module: {
rules: [
{
test: /\.m?js$/,
test: /\.m?jsx?$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
Expand All @@ -31,6 +31,9 @@ module.exports = {
}
]
},
resolve: {
extensions: [ '.js', '.jsx']
},
plugins: [
new CopyWebpackPlugin({
patterns: [
Expand Down

0 comments on commit 417d28e

Please sign in to comment.