Поправки багов
This commit is contained in:
@@ -3,7 +3,7 @@ const webpack = require("webpack");
|
|||||||
const VueLoaderPlugin = require('vue-loader/lib/plugin');
|
const VueLoaderPlugin = require('vue-loader/lib/plugin');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: ["./client/main.js"],
|
entry: [path.resolve(__dirname, "../client/main.js")],
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, "..", "server", "public"),
|
path: path.resolve(__dirname, "..", "server", "public"),
|
||||||
publicPath: "/",
|
publicPath: "/",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"build:win": "npm run build:client && pkg -t latest-win-x64 -o dist/win/liberama .",
|
"build:win": "npm run build:client && pkg -t latest-win-x64 -o dist/win/liberama .",
|
||||||
"lint": "eslint --ext=.js,.vue client server"
|
"lint": "eslint --ext=.js,.vue client server"
|
||||||
},
|
},
|
||||||
"bin": "server/index-prod.js",
|
"bin": "server/index.js",
|
||||||
"pkg": {
|
"pkg": {
|
||||||
"scripts": "server/config/*.js"
|
"scripts": "server/config/*.js"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user