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') const vueLoaderConfig = require('./vue-loader.conf')
function resolve (dir) { function resolve (dir) {
return path.join(__dirname, '..', dir) return path.join(__dirname, '../cuizin/', dir)
} }
const createLintingRule = () => ({ const createLintingRule = () => ({

View File

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

View File

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

View File

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