diff options
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?$/, |