Clean source folder

pull/144/head
Henrique Dias 2017-07-06 09:08:20 +01:00
parent 69d8cd6343
commit 953fbfba6f
No known key found for this signature in database
GPG Key ID: 936F5EB68D786730
7 changed files with 7 additions and 7 deletions

View File

@ -20,7 +20,7 @@ module.exports = merge(baseWebpackConfig, {
},
devtool: '#cheap-module-eval-source-map',
output: {
path: config.dev.assetsRoot,
path: config.assetsRoot,
filename: utils.assetsPath('js/[name].[chunkhash].js'),
chunkFilename: utils.assetsPath('js/[id].[chunkhash].js')
},
@ -38,7 +38,7 @@ module.exports = merge(baseWebpackConfig, {
// you can customize output by editing /index.html
// see https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
filename: config.dev.index,
filename: config.index,
template: 'assets/index.html',
inject: true,
// necessary to consistently work with multiple chunks via CommonsChunkPlugin

View File

@ -10,7 +10,7 @@
<script>
import { mapState } from 'vuex'
import CodeMirror from '@/codemirror'
import CodeMirror from '@/utils/codemirror'
export default {
name: 'editor',

View File

@ -1,6 +1,6 @@
import Vue from 'vue'
import App from './App'
import store from './store/store'
import store from './store'
import router from './router'
Vue.config.productionTip = true

View File

@ -1,4 +1,4 @@
import store from '../store/store'
import store from '@/store'
const ssl = (window.location.protocol === 'https:')

View File

@ -1,5 +1,5 @@
import cookie from './cookie'
import store from '@/store/store'
import store from '@/store'
import router from '@/router'
function parseToken (token) {

View File

@ -1,7 +1,7 @@
// Most of the code from this file comes from:
// https://github.com/codemirror/CodeMirror/blob/master/addon/mode/loadmode.js
import * as CodeMirror from 'codemirror'
import store from '@/store/store'
import store from '@/store'
// Make CodeMirror available globally so the modes' can register themselves.
window.CodeMirror = CodeMirror