Skip to content

Commit 71393aa

Browse files
committed
build: add task watcher config and disable sourceMap generation
1 parent 669c910 commit 71393aa

File tree

6 files changed

+16
-6
lines changed

6 files changed

+16
-6
lines changed

.vscode/tasks.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@
2020
"panel": "dedicated",
2121
"reveal": "never"
2222
},
23-
"problemMatcher": ["$ts-webpack"],
23+
"problemMatcher": {
24+
"base": "$ts-webpack-watch",
25+
"background": {
26+
"activeOnStart": true
27+
}
28+
},
2429
"dependsOn": "build_syntaxes"
2530
}
2631
]

packages/client/project.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
]
2424
},
2525
"configurations": {
26-
"development": {},
26+
"development": {
27+
"sourceMap": false
28+
},
2729
"production": {
2830
"optimization": true,
2931
"outputHashing": "media",

packages/client/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = composePlugins(withNx(), withWeb(), (config) => {
66
// e.g. `config.plugins.push(new MyPlugin())`
77

88
config.resolve.extensions = ['.ts', '.js']; // support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
9-
config.devtool = 'source-map';
9+
// config.devtool = 'source-map';
1010

1111
config.module.rules.push({
1212
test: /\.ts$/,

packages/server/project.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
]
2525
},
2626
"configurations": {
27-
"development": {},
27+
"development": {
28+
"sourceMap": false
29+
},
2830
"production": {
2931
"optimization": true,
3032
"outputHashing": "media",

packages/server/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = composePlugins(withNx(), withWeb(), (config) => {
55
// Update the webpack config as needed here.
66
// e.g. `config.plugins.push(new MyPlugin())`
77

8-
config.devtool = 'source-map';
8+
// config.devtool = 'source-map';
99

1010
config.resolve.extensions = ['.ts', '.js']; // support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
1111

tests/Index.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ DataModule
33
SupportedGameVersion = Pre-Release 4.0
44
IncludeFile = Benchmark.rte/Effects.ini
55
IncludeFile = Benchmark.rte/Benchmark.ini
6-
IncludeFile = Benchmark.rte/Mission Activities.ini
6+
IncludeFile = Benchmark.rte/Mission Activities.ini
7+
ALLCAPS

0 commit comments

Comments
 (0)