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
{{ message }}
Repository navigation
options not work, neither targets ie11 in babel.config.js #925
My project root directory has a .babelrc.js configuration file. I adopted your solution. However, I only need to configure babelrc: false additionally, and do not need the configFile and only options.
In addition, I think this is a long-standing problem, you can take a look: #823 .
My project root directory has a .babelrc.js configuration file. I adopted your solution. However, I only need to configure babelrc: false additionally, and do not need the configFile and only options.
In addition, I think this is a long-standing problem, you can take a look: #823 .
Thank you. I use both of babelrc:false and configFile just for precausion.
I use only because my webpack and babel compile dif files.
I'd like to , but my env not support command npm start :(
PS>$env:BABEL_SHOW_CONFIG_FOR = ".\src\myComponent.jsx"; npm start
npm ERR! Missing script: "start"
npm ERR!
npm ERR! Did you mean one of these?
npm ERR! npm star # Mark your favorite packages
npm ERR! npm stars # View packages marked as favorites
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in:
npm ERR! D:\A\node\node-cache\_logs\2022-01-13T16_51_05_329Z-debug-0.log
Activity
scil commentedon Jan 5, 2022
I have found the sollution is to skip automaticly merging babel.config.js .
I merge it mannuly, like this
what do u think?
wang1212 commentedon Jan 7, 2022
@scil I have the same problem.
My project root directory has a .babelrc.js configuration file. I adopted your solution. However, I only need to configure
babelrc: falseadditionally, and do not need theconfigFileandonlyoptions.In addition, I think this is a long-standing problem, you can take a look: #823 .
scil commentedon Jan 9, 2022
Thank you. I use both of
babelrc:falseandconfigFilejust for precausion.I use
onlybecause my webpack and babel compile dif files.JLHwung commentedon Jan 13, 2022
Can you print the effective Babel config applied to this file?
https://babeljs.io/docs/en/configuration#print-effective-configs
scil commentedon Jan 13, 2022
I'd like to , but my env not support command
npm start:(