diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-09 17:18:15 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-09 17:18:15 +0800 |
commit | 974c0d2b958b6770915c86ac231375cbe2ab7893 (patch) | |
tree | bb7d68a4908e1c57cab23f137037434652908d26 /packages/react-docs | |
parent | d1fc2a115ee7e9f00cebceab1dcfee32c3116e79 (diff) | |
download | dexon-0x-contracts-974c0d2b958b6770915c86ac231375cbe2ab7893.tar.gz dexon-0x-contracts-974c0d2b958b6770915c86ac231375cbe2ab7893.tar.zst dexon-0x-contracts-974c0d2b958b6770915c86ac231375cbe2ab7893.zip |
Fix isse of sourceMapLoader looking at node_modules
Diffstat (limited to 'packages/react-docs')
-rw-r--r-- | packages/react-docs/webpack.config.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/react-docs/webpack.config.js b/packages/react-docs/webpack.config.js index 245aee6e3..83eb4e49e 100644 --- a/packages/react-docs/webpack.config.js +++ b/packages/react-docs/webpack.config.js @@ -24,6 +24,10 @@ module.exports = { { test: /\.js$/, loader: 'source-map-loader', + exclude: [ + // instead of /\/node_modules\// + path.join(process.cwd(), 'node_modules'), + ], }, { test: /\.tsx?$/, |