File tree Expand file tree Collapse file tree 6 files changed +24
-11
lines changed Expand file tree Collapse file tree 6 files changed +24
-11
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"presets" : [
3
- [" env" , { "modules" : false }],
3
+ [" latest" , {
4
+ "es2015" : { "modules" : false }
5
+ }],
4
6
" stage-2"
5
7
],
6
8
"plugins" : [" transform-runtime" ],
7
9
"comments" : false ,
8
10
"env" : {
9
11
"test" : {
10
- "presets" : [" env " , " stage-2" ],
12
+ "presets" : [" latest " , " stage-2" ],
11
13
"plugins" : [ " istanbul" ]
12
14
}
13
15
}
Original file line number Diff line number Diff line change
1
+ // https://github.com/michael-ciniawsky/postcss-load-config
2
+
3
+ module . exports = {
4
+ "plugins" : {
5
+ // to edit target browsers: use "browserlist" field in package.json
6
+ "autoprefixer" : { }
7
+ }
8
+ }
Original file line number Diff line number Diff line change @@ -8,10 +8,5 @@ module.exports = {
8
8
? config . build . productionSourceMap
9
9
: config . dev . cssSourceMap ,
10
10
extract : isProduction
11
- } ) ,
12
- postcss : [
13
- require ( 'autoprefixer' ) ( {
14
- browsers : [ 'last 2 versions' ]
15
- } )
16
- ]
11
+ } )
17
12
}
Original file line number Diff line number Diff line change 24
24
{{/lint }}
25
25
"babel-loader" : " ^6.2.10" ,
26
26
"babel-plugin-transform-runtime" : " ^6.22.0" ,
27
- "babel-preset-env " : " ^1.1.8 " ,
27
+ "babel-preset-latest " : " ^6.22.0 " ,
28
28
"babel-preset-stage-2" : " ^6.22.0" ,
29
29
"babel-register" : " ^6.22.0" ,
30
30
"chalk" : " ^1.1.3" ,
98
98
"engines" : {
99
99
"node" : " >= 4.0.0" ,
100
100
"npm" : " >= 3.0.0"
101
- }
101
+ },
102
+ "browserlist" : [
103
+ " > 1%" ,
104
+ " last 2 versions" ,
105
+ " not ie <= 8"
106
+ ]
102
107
}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import App from './App'{{#if_eq lintConfig "airbnb"}};{{/if_eq}}
8
8
import router from './router' { { #if_eq lintConfig "airbnb" } } ; { { / i f _ e q } }
9
9
{ { / router} }
10
10
11
- Vue . devtool . productionTip = false { { #if_eq lintConfig "airbnb" } } ; { { / i f _ e q } }
11
+ Vue . config . productionTip = false { { #if_eq lintConfig "airbnb" } } ; { { / i f _ e q } }
12
12
13
13
/* eslint-disable no-new */
14
14
new Vue ( {
Original file line number Diff line number Diff line change
1
+ import Vue from 'vue' { { #if_eq lintConfig "airbnb" } } ; { { / i f _ e q } }
2
+ Vue . config . productionTip = false { { #if_eq lintConfig "airbnb" } } ; { { / i f _ e q } }
3
+
1
4
// Polyfill fn.bind() for PhantomJS
2
5
/* eslint-disable no-extend-native */
3
6
Function . prototype . bind = require ( 'function-bind' ) { { #if_eq lintConfig "airbnb" } } ; { { / i f _ e q } }
You can’t perform that action at this time.
0 commit comments