mirror of
https://github.com/vx3r/wg-gen-web.git
synced 2024-12-18 00:13:23 +00:00
commit
ad85ef7442
@ -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
8443
ui/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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"],
|
||||
}),
|
||||
],
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user