add spa redirect
This commit is contained in:
parent
955a655c43
commit
239a4aa761
|
@ -6,6 +6,7 @@ pages:
|
|||
- npm install --save-dev
|
||||
- npx webpack
|
||||
- mv dist public
|
||||
- cp _redirects public
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
|
|
1
_redirects
Normal file
1
_redirects
Normal file
|
@ -0,0 +1 @@
|
|||
/* /index.html 200
|
|
@ -22,7 +22,6 @@
|
|||
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
|
||||
"git-revision-webpack-plugin": "^5.0.0",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
"i18next": "^21.6.5",
|
||||
"mini-css-extract-plugin": "^2.4.6",
|
||||
"node-sass": "^7.0.1",
|
||||
"prettier": "^2.5.1",
|
||||
|
@ -45,6 +44,7 @@
|
|||
"clipboard": "^2.0.8",
|
||||
"codejar": "^3.5.0",
|
||||
"core-js": "^3.20.2",
|
||||
"date-fns": "^2.28.0"
|
||||
"date-fns": "^2.28.0",
|
||||
"i18next": "^21.6.5"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue