mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-05 16:58:01 +00:00
Don't generate TS definitions for browser build (#864)
This commit is contained in:
committed by
Elliot Lee
parent
c3aa062edd
commit
2ea22a099e
10
Gulpfile.js
10
Gulpfile.js
@@ -50,10 +50,12 @@ function getWebpackConfig(extension, overrides) {
|
|||||||
use: 'null',
|
use: 'null',
|
||||||
}, {
|
}, {
|
||||||
test: /\.ts$/,
|
test: /\.ts$/,
|
||||||
use: 'ts-loader',
|
use: [{
|
||||||
include: [
|
loader: 'ts-loader',
|
||||||
path.resolve(__dirname, 'src')
|
options: {
|
||||||
]
|
compilerOptions: {declaration: false}
|
||||||
|
},
|
||||||
|
}],
|
||||||
}, {
|
}, {
|
||||||
test: /\.json/,
|
test: /\.json/,
|
||||||
use: 'json-loader',
|
use: 'json-loader',
|
||||||
|
|||||||
Reference in New Issue
Block a user