Clean source folder
Former-commit-id: 881d4adb1d54fcda5430ec0fd5793e621d573629 [formerly a00be7ce0492a17e68dbdbe597afe75b3c1742d6] [formerly aeeedee3a6730655dcc069af32a6340f634b554e [formerly 953fbfba6f
]]
Former-commit-id: bf4e3d76a736452c81f1f694c379cf6c3a91c6b3 [formerly f0bb8cd5dfea6eb7bb2b8550f43ce3aa21332476]
Former-commit-id: dc6aff52d494357e1887d507cf6fa2a5cf3d55aa
This commit is contained in:
parent
bd341f3ffc
commit
e1fb77a33b
|
@ -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