Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d7f1a03

Browse files
jaysooFrozenPandaz
authored andcommittedAug 13, 2020
fix(react): move url-loader to the react package.json (#3356)
1 parent 353a9d9 commit d7f1a03

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
 

Diff for: ‎packages/react/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"eslint-plugin-import": "^2.20.1",
4343
"eslint-plugin-jsx-a11y": "^6.2.3",
4444
"eslint-plugin-react": "^7.18.3",
45-
"eslint-plugin-react-hooks": "^2.4.0"
45+
"eslint-plugin-react-hooks": "^2.4.0",
46+
"url-loader": "^3.0.0"
4647
}
4748
}

Diff for: ‎packages/react/plugins/webpack.ts

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ function getWebpackConfig(config: Configuration) {
2626
options: {
2727
limit: 10000, // 10kB
2828
name: '[name].[hash:7].[ext]',
29+
esModule: false,
2930
},
3031
},
3132
],

Diff for: ‎packages/web/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
"terser-webpack-plugin": "2.3.1",
107107
"ts-loader": "5.4.5",
108108
"tsconfig-paths-webpack-plugin": "3.2.0",
109-
"url-loader": "^3.0.0",
110109
"webpack": "4.42.0",
111110
"webpack-dev-middleware": "3.7.0",
112111
"webpack-merge": "4.2.1",

0 commit comments

Comments
 (0)
Please sign in to comment.