Skip to content

Commit ebb100f

Browse files
committed
Deploy
1 parent 2d5f331 commit ebb100f

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

cli/gulpfile.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,13 @@ const script = ({src, name, mode}, done = _ => true) => {
5555
module: {
5656
rules: [
5757
// all files with a `.ts`, `.cts`, `.mts` or `.tsx` extension will be handled by `ts-loader`
58-
{ test: /\.([cm]?ts|tsx)$/, loader: 'ts-loader' }
58+
{
59+
test: /\.([cm]?ts|tsx)$/,
60+
loader: 'ts-loader',
61+
options: {
62+
configFile: '../config/tsconfig.json'
63+
}
64+
}
5965
]
6066
}
6167
};

config/tsconfig.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"compilerOptions": {
3+
"sourceMap": true
4+
}
5+
}

0 commit comments

Comments
 (0)