.babelrc 313B

123456789101112131415161718
  1. {
  2. "presets": [
  3. ["env", {
  4. "modules": false,
  5. "targets": {
  6. "browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
  7. }
  8. }],
  9. "stage-2"
  10. ],
  11. "plugins": ["transform-vue-jsx", "transform-runtime"],
  12. "env": {
  13. "development":{
  14. "plugins": ["dynamic-import-node"]
  15. }
  16. }
  17. }