Merge branch 'remove_vue_cli_serve' into 'master'
Remove vue cli serve See merge request framasoft/mobilizon!129
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
FROM node:10
|
||||
|
||||
LABEL maintainer="tcit"
|
||||
|
||||
RUN yarn install
|
||||
RUN yarn upgrade node-sass
|
||||
|
||||
WORKDIR /app/js
|
||||
|
||||
EXPOSE 8080
|
||||
@@ -6,7 +6,7 @@
|
||||
"build": "vue-cli-service build",
|
||||
"lint": "vue-cli-service lint",
|
||||
"analyze-bundle": "yarn run build -- --report-json && webpack-bundle-analyzer ../priv/static/report.json",
|
||||
"dev": "vue-cli-service serve",
|
||||
"dev": "vue-cli-service build --watch",
|
||||
"test:e2e": "vue-cli-service test:e2e",
|
||||
"test:unit": "vue-cli-service test:unit",
|
||||
"prepare": "patch-package"
|
||||
|
||||
@@ -4,7 +4,7 @@ const path = require('path');
|
||||
module.exports = {
|
||||
lintOnSave: false,
|
||||
runtimeCompiler: true,
|
||||
outputDir: '../priv/static',
|
||||
outputDir: '../priv/static/js',
|
||||
configureWebpack: {
|
||||
plugins: [
|
||||
new Dotenv({ path: path.resolve(process.cwd(), '../.env') }),
|
||||
@@ -18,6 +18,9 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
},
|
||||
output: {
|
||||
filename: 'app.js'
|
||||
}
|
||||
},
|
||||
chainWebpack: config => {
|
||||
config
|
||||
|
||||
Reference in New Issue
Block a user