commit c749f9b527d4d1a6df6e3a973143d33d991185a0
parent 2eb54d9d1237708318eaae20d8035d2ff609433e
Author: Abdud Dayan Adeeb <addnab@gmail.com>
Date: Thu, 29 Oct 2015 19:37:30 +0530
Add .json as default extension to webpack config
Refer https://github.com/webpack/webpack/issues/184 and https://github.com/webpack/webpack/commit/53c16c81471ede22eeeaac5b6357132eb2117846
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/webpack.config.js b/tools/webpack.config.js
@@ -68,7 +68,7 @@ const config = {
],
resolve: {
- extensions: ['', '.webpack.js', '.web.js', '.js', '.jsx'],
+ extensions: ['', '.webpack.js', '.web.js', '.js', '.jsx', '.json'],
},
module: {