File tree 4 files changed +4
-8
lines changed
4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ const componentExampleLoader = require.resolve('../loaders/component-example-loa
29
29
const webpackConfig = {
30
30
entry : {
31
31
app : [
32
- '@ babel/ polyfill' ,
32
+ 'babel- polyfill' ,
33
33
'./docs/app/index.js' ,
34
34
'./build/docs/offline.js'
35
35
]
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const prettier = require('prettier')
4
4
const path = require ( 'path' )
5
5
const compiler = require ( 'vue-template-compiler' )
6
6
const { resolvePath } = require ( '../config' )
7
- const { transform } = require ( '@ babel/ core' )
7
+ const { transform } = require ( 'babel- core' )
8
8
const transpile = code => transform ( code ) . code
9
9
const { getIndentedSource } = require ( '../../docs/app/mixins/codeSource' )
10
10
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default {
12
12
devtool : 'cheap-module-eval-source-map' ,
13
13
entry : {
14
14
docs : [
15
- '@ babel/ polyfill' ,
15
+ 'babel- polyfill' ,
16
16
'./docs/app/index.js' ,
17
17
'./build/local/client'
18
18
]
Original file line number Diff line number Diff line change @@ -3,16 +3,12 @@ import Vuex from 'vuex'
3
3
import state from './state'
4
4
import mutations from './mutations'
5
5
import actions from './actions'
6
- import createLogger from 'vuex/dist/logger'
7
6
8
7
Vue . use ( Vuex )
9
8
10
- const debug = process . env . NODE_ENV !== 'production'
11
-
12
9
export default new Vuex . Store ( {
13
10
state,
14
11
mutations,
15
12
actions,
16
- strict : debug ,
17
- plugins : debug ? [ createLogger ( ) ] : [ ]
13
+ strict : process . env . NODE_ENV !== 'production'
18
14
} )
You can’t perform that action at this time.
0 commit comments