
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
@vue/cli-plugin-babel
Advanced tools
babel plugin for vue-cli
Uses Babel 7 + babel-loader + @vue/babel-preset-app by default, but can be configured via babel.config.js to use any other Babel presets or plugins.
By default, babel-loader excludes files inside node_modules dependencies. If you wish to explicitly transpile a dependency module, you will need to add it to the transpileDependencies option in vue.config.js:
module.exports = {
transpileDependencies: [
// can be string or regex
'my-dep',
/other-dep/
]
}
cache-loader is enabled by default and cache is stored in <projectRoot>/node_modules/.cache/babel-loader.
thread-loader is enabled by default when the machine has more than 1 CPU cores. This can be turned off by setting parallel: false in vue.config.js.
vue add babel
config.rule('js')config.rule('js').use('babel-loader')config.rule('js').use('cache-loader')babel-loader is a webpack loader that allows you to transpile JavaScript files using Babel and webpack. It is more generic compared to @vue/cli-plugin-babel and can be used in any JavaScript project, not just Vue.js projects. It requires manual configuration of Babel presets and plugins.
rollup-plugin-babel is a Rollup plugin that enables Babel integration with Rollup, a module bundler. Similar to babel-loader, it is not specific to Vue.js and can be used in any JavaScript project. It also requires manual configuration of Babel presets and plugins.
gulp-babel is a Gulp plugin that allows you to use Babel to transpile JavaScript files in a Gulp build process. It is suitable for projects that use Gulp as their build system and, like the other alternatives, requires manual configuration of Babel presets and plugins.
FAQs
babel plugin for vue-cli
The npm package @vue/cli-plugin-babel receives a total of 435,698 weekly downloads. As such, @vue/cli-plugin-babel popularity was classified as popular.
We found that @vue/cli-plugin-babel demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.