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

Merge pull request #117 from vx3r/v2

update, issue #115
This commit is contained in:
vx3r 2023-01-31 16:32:59 +01:00 committed by GitHub
commit ad85ef7442
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5436 additions and 3018 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:16-alpine AS build-front
FROM node:18.13.0-alpine AS build-front
WORKDIR /app
COPY ui/package*.json ./
RUN npm install

8443
ui/package-lock.json generated

File diff suppressed because it is too large Load Diff

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"],
}),
],
}
};