mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-19 11:45:49 +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$/,
|
test: /\.ts$/,
|
||||||
use: 'ts-loader',
|
use: 'ts-loader',
|
||||||
exclude: /node_modules/,
|
include: [
|
||||||
|
path.resolve(__dirname, 'src')
|
||||||
|
]
|
||||||
}, {
|
}, {
|
||||||
test: /\.json/,
|
test: /\.json/,
|
||||||
use: 'json-loader',
|
use: 'json-loader',
|
||||||
|
|||||||
Reference in New Issue
Block a user