webpack config - include src instead of excluding node_modules

This commit is contained in:
Elliot Lee
2018-02-07 12:47:00 -08:00
parent 3ebbca0083
commit 139159bf1a

View File

@@ -51,7 +51,9 @@ function getWebpackConfig(extension, overrides) {
}, {
test: /\.ts$/,
use: 'ts-loader',
exclude: /node_modules/,
include: [
path.resolve(__dirname, 'src')
]
}, {
test: /\.json/,
use: 'json-loader',