Disable WebPack production build to pass tests

This commit is contained in:
Jon Koops 2021-07-08 11:56:27 +02:00 committed by Jon Koops
parent 898df795d9
commit 510bf9508b
2 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -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,