0
0
mirror of https://github.com/vx3r/wg-gen-web.git synced 2024-11-04 17:31:17 +00:00

update, issue #115

This commit is contained in:
vx3r 2023-01-31 16:24:52 +01:00
parent 258f32b46d
commit bd8e681318
4 changed files with 7309 additions and 8504 deletions

View File

@ -6,7 +6,7 @@ ARG COMMIT
COPY . .
RUN go build -o wg-gen-web-linux -ldflags="-X 'github.com/vx3r/wg-gen-web/version.Version=${COMMIT}'" github.com/vx3r/wg-gen-web/cmd/wg-gen-web

FROM node:lts-alpine AS build-front
FROM node:18.13.0-alpine AS build-front
WORKDIR /app
COPY ui/package*.json ./
RUN npm install

15800
ui/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,7 @@
},
"devDependencies": {
"@vue/cli-plugin-router": "^4.5.15",
"@vue/cli-service": "^4.5.15",
"@vue/cli-service": "^5.0.8",
"sass": "^1.48.0",
"sass-loader": "^10.2.1",
"vue-cli-plugin-vuetify": "^2.4.5",

View File

@ -1,3 +1,5 @@
const webpack = require("webpack");

module.exports = {
devServer: {
port: 8081,
@ -8,5 +10,12 @@ module.exports = {
],
pwa: {
name: 'Wg Gen Web',
},
configureWebpack: {
plugins: [
new webpack.ProvidePlugin({
Buffer: ["buffer", "Buffer"],
}),
],
}
};