1
0
Fork 0

add spa redirect

This commit is contained in:
ChaotiCryptidz 2022-01-07 16:26:53 +00:00
parent 955a655c43
commit 239a4aa761
3 changed files with 4 additions and 2 deletions

View file

@ -6,6 +6,7 @@ pages:
- npm install --save-dev - npm install --save-dev
- npx webpack - npx webpack
- mv dist public - mv dist public
- cp _redirects public
artifacts: artifacts:
paths: paths:
- public - public

1
_redirects Normal file
View file

@ -0,0 +1 @@
/* /index.html 200

View file

@ -22,7 +22,6 @@
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0", "eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
"git-revision-webpack-plugin": "^5.0.0", "git-revision-webpack-plugin": "^5.0.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"i18next": "^21.6.5",
"mini-css-extract-plugin": "^2.4.6", "mini-css-extract-plugin": "^2.4.6",
"node-sass": "^7.0.1", "node-sass": "^7.0.1",
"prettier": "^2.5.1", "prettier": "^2.5.1",
@ -45,6 +44,7 @@
"clipboard": "^2.0.8", "clipboard": "^2.0.8",
"codejar": "^3.5.0", "codejar": "^3.5.0",
"core-js": "^3.20.2", "core-js": "^3.20.2",
"date-fns": "^2.28.0" "date-fns": "^2.28.0",
"i18next": "^21.6.5"
} }
} }