Disable WebPack production build to pass tests
This commit is contained in:
parent
898df795d9
commit
510bf9508b
2 changed files with 2 additions and 4 deletions
4
.github/workflows/cypress.yml
vendored
4
.github/workflows/cypress.yml
vendored
|
@ -30,9 +30,7 @@ jobs:
|
||||||
run: ./start.js & sleep 40
|
run: ./start.js & sleep 40
|
||||||
|
|
||||||
- name: Run Admin Console
|
- name: Run Admin Console
|
||||||
run: |
|
run: npx http-server ./build -P http://localhost:8180/ & sleep 30
|
||||||
mkdir ./build/adminv2 && mv ./build/js ./build/adminv2/
|
|
||||||
npx http-server ./build -P http://localhost:8180/ & sleep 30
|
|
||||||
|
|
||||||
- name: Admin Console client
|
- name: Admin Console client
|
||||||
run: ./import.js
|
run: ./import.js
|
||||||
|
|
|
@ -3,7 +3,7 @@ module.exports = {
|
||||||
proxy: {
|
proxy: {
|
||||||
"/auth/admin": "http://localhost:8180/auth/admin/",
|
"/auth/admin": "http://localhost:8180/auth/admin/",
|
||||||
},
|
},
|
||||||
plugins: ["@snowpack/plugin-postcss", "@snowpack/plugin-webpack"],
|
plugins: ["@snowpack/plugin-postcss"],
|
||||||
buildOptions: {
|
buildOptions: {
|
||||||
baseUrl: "/adminv2",
|
baseUrl: "/adminv2",
|
||||||
clean: true,
|
clean: true,
|
||||||
|
|
Loading…
Reference in a new issue