Skip to content

Commit

Permalink
Release 9.0.0 (#74)
Browse files Browse the repository at this point in the history
## What's changed

* feat: allow disabling devtool
(#73)
* Refactor: remove security routes proxy
(#67)
  • Loading branch information
puehringer authored Apr 25, 2024
2 parents 9295a01 + 557a131 commit 6c77f03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
14 changes: 1 addition & 13 deletions config/rspack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = (webpackEnv, argv) => {
}

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

const now = new Date();
Expand Down Expand Up @@ -127,18 +127,6 @@ module.exports = (webpackEnv, argv) => {
res.on('close', () => proxyReq.destroy());
},
},
'/login': {
target: 'http://localhost:9000',
secure: false,
},
'/logout': {
target: 'http://localhost:9000',
secure: false,
},
'/loggedinas': {
target: 'http://localhost:9000',
secure: false,
},
// Append on bottom to allow override of exact key matches like /api/*
...(devServerProxy || {}),
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "visyn_scripts",
"description": "",
"version": "8.0.4",
"version": "9.0.0",
"author": {
"name": "datavisyn GmbH",
"email": "[email protected]",
Expand Down

0 comments on commit 6c77f03

Please sign in to comment.