-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optional chaining not working for 3.2.0-rc.1 [Webpack/Babel] #874
Comments
Same here with |
You can also npm-install @babel/plugin-proposal-optional-chaining and add
to module.rules of your configureWebpack in vue.config.js:
I think It is not the best solution, but it works. |
Looks like its a vue-loader issue vuejs/vue-loader#1697 (comment) |
Still relevant problem |
@Yaroslaww-1 this is the entirety of my vue.config.js yet I still can't get it working. module.exports = {
configureWebpack: () => {
return {
module: {
rules: [
{
test: /\.m?jsx?$/,
loader: "babel-loader",
options: {
plugins: ["@babel/plugin-proposal-optional-chaining"],
},
include: /node_modules\/primevue/,
},
],
},
};
},
}; |
@sixpeteunder Have you created your app via vue cli 3? |
@Yaroslaww-1 Vue 3 app created with Vue CLI 4.5. I just downgraded to Primevue 3.1.2 and now everything is working. |
Any solution. downgrade is causing different problems :( |
Should be fixed with #913, we plan to release 3.2.0-final tomorrow. |
The text was updated successfully, but these errors were encountered: