Fix isse of sourceMapLoader looking at node_modules

This commit is contained in:
Fabio Berger
2018-03-09 10:18:15 +01:00
parent d1fc2a115e
commit 974c0d2b95

View File

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