Skip to content

Commit c749f9b

Browse files
committed
Add .json as default extension to webpack config
Refer webpack/webpack#184 and webpack/webpack@53c16c8
1 parent 2eb54d9 commit c749f9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const config = {
6868
],
6969

7070
resolve: {
71-
extensions: ['', '.webpack.js', '.web.js', '.js', '.jsx'],
71+
extensions: ['', '.webpack.js', '.web.js', '.js', '.jsx', '.json'],
7272
},
7373

7474
module: {

0 commit comments

Comments
 (0)