Skip to content

Commit 6c77f03

Browse files
authored
Release 9.0.0 (#74)
## What's changed * feat: allow disabling devtool (#73) * Refactor: remove security routes proxy (#67)
2 parents 9295a01 + 557a131 commit 6c77f03

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

config/rspack.config.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = (webpackEnv, argv) => {
3131
}
3232

3333
const isDevServerOnly = env.dev_server_only?.toLowerCase() === 'true';
34-
const devtool = (env.devtool?.toLowerCase() === 'false' ? false : env.devtool) || (isEnvDevelopment ? 'eval-cheap-module-source-map' : 'source-map');
34+
const devtool = env.devtool?.toLowerCase() === 'false' ? false : (env.devtool || (isEnvDevelopment ? 'eval-cheap-module-source-map' : 'source-map'));
3535
const isReactRefresh = isDevServer && isEnvDevelopment;
3636

3737
const now = new Date();
@@ -127,18 +127,6 @@ module.exports = (webpackEnv, argv) => {
127127
res.on('close', () => proxyReq.destroy());
128128
},
129129
},
130-
'/login': {
131-
target: 'http://localhost:9000',
132-
secure: false,
133-
},
134-
'/logout': {
135-
target: 'http://localhost:9000',
136-
secure: false,
137-
},
138-
'/loggedinas': {
139-
target: 'http://localhost:9000',
140-
secure: false,
141-
},
142130
// Append on bottom to allow override of exact key matches like /api/*
143131
...(devServerProxy || {}),
144132
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "visyn_scripts",
33
"description": "",
4-
"version": "8.0.4",
4+
"version": "9.0.0",
55
"author": {
66
"name": "datavisyn GmbH",
77
"email": "[email protected]",

0 commit comments

Comments
 (0)