the project created by default scaffolding cannot be used in low-level browsers after packaging. It is found that the es6 code of vendor has not been converted babel.config.js module.exports = { presets: [ @vue app ] } as shown in the fi...
a.js module.exports = a ; index.js import a from . a console.log(a); .babelc { "presets": [ ["env", { "targets": { "node": "current" } }] ] } execute us...
Why Vue s Webpack template does not use polyfill can also use ES6+ methods such as Object.assign on IE browsers. And there is no babel-polyfill in the package.json and related configuration of the template can t babel-loader automatically add relev...
because the DatePicker in iviewui needs extension operations, but the size of the main.js file generated by adding the transform-object-rest-spread plug-in increases several times .babelrc as follows { "presets": ["env"], "...
here s the problem. The es6 specification for writing code at the front end. Browsers do not fully support . The problem arises when uses babel transformations. Babel can not directly transfer the code used by the browser, must use other tools? Peopl...