Skip to content

Commit 120044a

Browse files
committed
fix: clean webpack configuration
1 parent 5a87329 commit 120044a

File tree

3 files changed

+1
-25
lines changed

3 files changed

+1
-25
lines changed

packages/specs/json-mapper/webpack.config.cjs

-5
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,5 @@ module.exports = require("@tsed/webpack-config").create({
66
externals: {
77
"@tsed/core": "@tsed/core",
88
"@tsed/schema": "@tsed/schema"
9-
},
10-
resolve: {
11-
alias: {
12-
picomatch: require.resolve("picomatch-browser")
13-
}
149
}
1510
});

packages/third-parties/schema-formio/webpack.config.cjs

-5
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,5 @@ module.exports = require("@tsed/webpack-config").create({
88
formiojs: "formiojs",
99
lodash: "lodash",
1010
moment: "moment"
11-
},
12-
resolve: {
13-
alias: {
14-
picomatch: require.resolve("picomatch-browser")
15-
}
1611
}
1712
});

tools/webpack/webpack.config.js

+1-15
Original file line numberDiff line numberDiff line change
@@ -28,28 +28,14 @@ exports.create = ({root, name, entry, externals = {}, resolve = {}}) => {
2828
"@tsed/di": "@tsed/di",
2929
"@tsed/json-mapper": "@tsed/json-mapper",
3030
"@tsed/event-emitter": "@tsed/event-emitter",
31+
"@tsed/exceptions": "@tsed/exceptions",
3132
...externals
3233
},
3334
module: {
3435
rules: [
3536
{
3637
test: /\.(ts|js)?$/,
3738
use: [
38-
{
39-
loader: "webpack-remove-code-blocks",
40-
options: {
41-
blocks: [
42-
"debug",
43-
"devblock",
44-
{
45-
start: "node_env:start",
46-
end: "node_env:end",
47-
prefix: "/*",
48-
suffix: "*/"
49-
}
50-
]
51-
}
52-
},
5339
{
5440
loader: "ts-loader",
5541
options: {

0 commit comments

Comments
 (0)