Fix build

This commit is contained in:
Lucas Verney 2018-02-27 10:03:43 +01:00
parent e139aec62d
commit 1170bb39c0
9 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ const config = require('../config')
const vueLoaderConfig = require('./vue-loader.conf')
function resolve (dir) {
return path.join(__dirname, '..', dir)
return path.join(__dirname, '../cuizin/', dir)
}
const createLintingRule = () => ({

View File

@ -54,7 +54,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
// https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
filename: 'index.html',
template: 'index.html',
template: 'static/index.html',
inject: true
}),
// copy custom static assets

View File

@ -8,7 +8,7 @@ module.exports = {
dev: {
// Paths
assetsSubDirectory: path.resolve(__dirname, '../cuizin/static'),
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {},

View File

@ -7,7 +7,7 @@
"scripts": {
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"start": "npm run dev",
"lint": "eslint --ext .js,.vue src",
"lint": "eslint --ext .js,.vue cuizin/js_src",
"build": "node build/build.js"
},
"dependencies": {