Replies: 1 comment
-
Of course you can In Vue CLI, You can do it like this👇 $ yarn add @swc/core swc-loader -D
// vue.config.js
module.exports = {
configureWebpack: {
module: {
rules: [
// use swc-loader
{
test: /\.m?js$/,
exclude: /(node_modules/,
use: {
loader: 'swc-loader',
},
},
],
},
},
}
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Will swc support to Improve compile efficiency ? swc is faster than babel
Beta Was this translation helpful? Give feedback.
All reactions