You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
馃巵 error /Users/yoki/Desktop/try-preconstruct-monorepo/packages/b/src/helpers.ts: Support for the experimental syntax 'flow' isn't currently enabled (1:8):馃巵 error馃巵 error > 1 | export interface Options {馃巵 error | ^馃巵 error 2 | name: string馃巵 error 3 | }馃巵 error 4 |馃巵 error馃巵 error Add @babel/preset-flow (https://git.io/JfeDn) to the 'presets' section of your Babel config to enable transformation.馃巵 error If you want to leave it as-is, add @babel/plugin-syntax-flow (https://git.io/vb4yb) to the 'plugins' section to enable parsing.馃巵 info If you want to learn more about the above error, check https://preconstruct.tools/errors馃巵 info If the error is not there and you want to learn more about it, open an issue at https://github.com/preconstruct/preconstruct/issues/new
@mitchellhamilton Thank you for your answer~
Deep down, It's expected and logical, but as a user-end, it's hard to find out what's wrong, it cost me several hours...
So I think it's better to support .babelrc format or shows explicit error or give a warning on doc site, would you like me to fix that?
.babelrc
format file will cause ts error, butbabel.config.js
won'tError Cause
.babelrc
error
If change
.babelrc
file intobabel.config.js
Success
The text was updated successfully, but these errors were encountered: