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
|
||||
|
||||
- name: Run Admin Console
|
||||
run: |
|
||||
mkdir ./build/adminv2 && mv ./build/js ./build/adminv2/
|
||||
npx http-server ./build -P http://localhost:8180/ & sleep 30
|
||||
run: npx http-server ./build -P http://localhost:8180/ & sleep 30
|
||||
|
||||
- name: Admin Console client
|
||||
run: ./import.js
|
||||
|
|
|
@ -3,7 +3,7 @@ module.exports = {
|
|||
proxy: {
|
||||
"/auth/admin": "http://localhost:8180/auth/admin/",
|
||||
},
|
||||
plugins: ["@snowpack/plugin-postcss", "@snowpack/plugin-webpack"],
|
||||
plugins: ["@snowpack/plugin-postcss"],
|
||||
buildOptions: {
|
||||
baseUrl: "/adminv2",
|
||||
clean: true,
|
||||
|
|
Loading…
Reference in a new issue