Skip to content

Commit

Permalink
fix: enable deeplinks in development (flyteorg#602)
Browse files Browse the repository at this point in the history
chore: enable deeplinks in development

Signed-off-by: Carina Ursu <[email protected]>

Signed-off-by: Carina Ursu <[email protected]>
  • Loading branch information
ursucarina authored Sep 29, 2022
1 parent b9eed42 commit d649546
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/zapp/console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"clean": "rm -rf dist",
"build": "TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' webpack --config webpack.dev.config.ts --mode=development",
"build:prod": "TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' NODE_ENV=production webpack --config webpack.prod.config.ts --mode=production --progress",
"start": "webpack serve --config webpack.dev.config.ts --hot",
"start": "webpack serve --config webpack.dev.config.ts",
"start:prod": "NODE_ENV=production node -r dotenv/config index.js",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"format": "prettier --ignore-path .eslintignore --write \"**/*.+(js|jsx|ts|tsx|json)\"",
Expand Down
5 changes: 4 additions & 1 deletion packages/zapp/console/webpack.dev.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ export const clientConfig: webpack.Configuration = merge(common.default.clientCo
mode: 'development',
devtool,
devServer: {
historyApiFallback: {
logger: console.log.bind(console),
disableDotRule: true,
},
hot: true,
open: [BASE_URL || '/'],
static: {
Expand All @@ -50,7 +54,6 @@ export const clientConfig: webpack.Configuration = merge(common.default.clientCo
compress: true,
port: 3000,
host: LOCAL_DEV_HOST,
historyApiFallback: true,
server: {
type: ADMIN_API_USE_SSL,
options: {
Expand Down

0 comments on commit d649546

Please sign in to comment.