Vikram Rangaraj
6 years ago
committed by
Evan You
10 changed files with 2297 additions and 522 deletions
@ -1,8 +0,0 @@ |
|||
{ |
|||
"presets": ["es2015", "flow-vue"], |
|||
"plugins": ["transform-vue-jsx", "syntax-dynamic-import"], |
|||
"ignore": [ |
|||
"dist/*.js", |
|||
"packages/**/*.js" |
|||
] |
|||
} |
@ -0,0 +1,23 @@ |
|||
const babelPresetFlowVue = { |
|||
plugins: [ |
|||
require('@babel/plugin-proposal-class-properties'), |
|||
// require('@babel/plugin-syntax-flow'), // not needed, included in transform-flow-strip-types
|
|||
require('@babel/plugin-transform-flow-strip-types') |
|||
] |
|||
} |
|||
|
|||
module.exports = { |
|||
presets: [ |
|||
require('@babel/preset-env'), |
|||
// require('babel-preset-flow-vue')
|
|||
babelPresetFlowVue |
|||
], |
|||
plugins: [ |
|||
require('babel-plugin-transform-vue-jsx'), |
|||
require('@babel/plugin-syntax-dynamic-import') |
|||
], |
|||
ignore: [ |
|||
'dist/*.js', |
|||
'packages/**/*.js' |
|||
] |
|||
} |
@ -0,0 +1,9 @@ |
|||
module.exports = { |
|||
spec_dir: 'test/ssr', |
|||
spec_files: [ |
|||
'*.spec.js' |
|||
], |
|||
helpers: [ |
|||
require.resolve('@babel/register') |
|||
] |
|||
} |
@ -1,9 +0,0 @@ |
|||
{ |
|||
"spec_dir": "test/ssr", |
|||
"spec_files": [ |
|||
"*.spec.js" |
|||
], |
|||
"helpers": [ |
|||
"../../node_modules/babel-register/lib/node.js" |
|||
] |
|||
} |
@ -0,0 +1,9 @@ |
|||
module.exports = { |
|||
spec_dir: 'test/weex', |
|||
spec_files: [ |
|||
'**/*[sS]pec.js' |
|||
], |
|||
helpers: [ |
|||
require.resolve('@babel/register') |
|||
] |
|||
} |
@ -1,9 +0,0 @@ |
|||
{ |
|||
"spec_dir": "test/weex", |
|||
"spec_files": [ |
|||
"**/*[sS]pec.js" |
|||
], |
|||
"helpers": [ |
|||
"../../node_modules/babel-register/lib/node.js" |
|||
] |
|||
} |
File diff suppressed because it is too large
Loading…
Reference in new issue