Clean source folder
parent
69d8cd6343
commit
953fbfba6f
|
@ -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
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
import CodeMirror from '@/codemirror'
|
||||
import CodeMirror from '@/utils/codemirror'
|
||||
|
||||
export default {
|
||||
name: 'editor',
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import store from '../store/store'
|
||||
import store from '@/store'
|
||||
|
||||
const ssl = (window.location.protocol === 'https:')
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import cookie from './cookie'
|
||||
import store from '@/store/store'
|
||||
import store from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
function parseToken (token) {
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue