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:
parent
258f32b46d
commit
bd8e681318
@ -6,7 +6,7 @@ ARG COMMIT
|
|||||||
COPY . .
|
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
|
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
|
WORKDIR /app
|
||||||
COPY ui/package*.json ./
|
COPY ui/package*.json ./
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
15276
ui/package-lock.json
generated
15276
ui/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -19,7 +19,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/cli-plugin-router": "^4.5.15",
|
"@vue/cli-plugin-router": "^4.5.15",
|
||||||
"@vue/cli-service": "^4.5.15",
|
"@vue/cli-service": "^5.0.8",
|
||||||
"sass": "^1.48.0",
|
"sass": "^1.48.0",
|
||||||
"sass-loader": "^10.2.1",
|
"sass-loader": "^10.2.1",
|
||||||
"vue-cli-plugin-vuetify": "^2.4.5",
|
"vue-cli-plugin-vuetify": "^2.4.5",
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
const webpack = require("webpack");
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
devServer: {
|
devServer: {
|
||||||
port: 8081,
|
port: 8081,
|
||||||
@ -8,5 +10,12 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
pwa: {
|
pwa: {
|
||||||
name: 'Wg Gen Web',
|
name: 'Wg Gen Web',
|
||||||
|
},
|
||||||
|
configureWebpack: {
|
||||||
|
plugins: [
|
||||||
|
new webpack.ProvidePlugin({
|
||||||
|
Buffer: ["buffer", "Buffer"],
|
||||||
|
}),
|
||||||
|
],
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user