diff options
author | Fabio Berger <me@fabioberger.com> | 2017-05-29 15:09:54 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-05-29 15:09:54 +0800 |
commit | 62cc3b919c73b7726793808e3b9631dba41cef28 (patch) | |
tree | 22c5f1728c56b09fa0e15e5e645c1f891224a6ee /webpack.config.js | |
parent | 281b9eaa5d207d32ae38fbab25cbca83fe81efa1 (diff) | |
parent | b897bdab79fe566ffc8c19c6ec9f1bb7260fa95e (diff) | |
download | dexon-sol-tools-62cc3b919c73b7726793808e3b9631dba41cef28.tar dexon-sol-tools-62cc3b919c73b7726793808e3b9631dba41cef28.tar.gz dexon-sol-tools-62cc3b919c73b7726793808e3b9631dba41cef28.tar.bz2 dexon-sol-tools-62cc3b919c73b7726793808e3b9631dba41cef28.tar.lz dexon-sol-tools-62cc3b919c73b7726793808e3b9631dba41cef28.tar.xz dexon-sol-tools-62cc3b919c73b7726793808e3b9631dba41cef28.tar.zst dexon-sol-tools-62cc3b919c73b7726793808e3b9631dba41cef28.zip |
Merge branch 'master' of github.com:0xProject/0x.js
# Conflicts:
# src/ts/0x.js.ts
# src/ts/utils/utils.ts
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/webpack.config.js b/webpack.config.js index 04822d79d..67af51f7a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -17,7 +17,7 @@ module.exports = { umdNamedDefine: true, }, resolve: { - extensions: ['.ts', '.js'], + extensions: ['.ts', '.js', '.json'], }, devtool: 'source-map', plugins: [ @@ -28,13 +28,23 @@ module.exports = { }), ], module: { - loaders: [{ - test: /\.ts$/, - loader: 'awesome-typescript-loader', - exclude: /node_modules/, - query: { - declaration: false, + rules: [ + { + test: /\.ts$/, + use: [ + { + loader: 'awesome-typescript-loader', + query: { + declaration: false, + }, + }, + ], + exclude: /node_modules/, }, - }], + { + test: /\.json$/, + loader: 'json-loader', + }, + ], }, }; |