mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-18 19:25:48 +00:00
webpack config - include src instead of excluding node_modules
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user