We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i'm using babel version 7 but parcel not compiler babel.config.js only .babelrc ref: https://babeljs.io/docs/en/configuration
module.exports = function () { const presets = [ "@babel/preset-react", "@babel/preset-flow" ]; const plugins = [ ["@babel/plugin-proposal-decorators", {"legacy": true }], ["@babel/plugin-proposal-class-properties", { "loose": false }], "@babel/plugin-proposal-export-namespace-from", "@babel/plugin-proposal-throw-expressions", "@babel/plugin-syntax-dynamic-import", ]; return { presets, plugins }; }
should be working like .babelrc
example in my configuration using @babel/plugin-proposal-decorators, but when running program got message error
but if i using .babelrc it's working
https://babeljs.io/docs/en/configuration
The text was updated successfully, but these errors were encountered:
Please take a look at this comment for an explanation why it's very likely that babel.config.js won't be supported.
Duplicate of #2110
Sorry, something went wrong.
No branches or pull requests
🐛 bug report
i'm using babel version 7 but parcel not compiler babel.config.js only .babelrc
ref: https://babeljs.io/docs/en/configuration
🎛 Configuration (.babelrc, package.json, cli command)
🤔 Expected Behavior
should be working like .babelrc
😯 Current Behavior
example in my configuration using @babel/plugin-proposal-decorators, but when running program got message error
but if i using .babelrc it's working
💻 Code Sample
https://babeljs.io/docs/en/configuration
🌍 Your Environment
The text was updated successfully, but these errors were encountered: