Question: should I only try this with beta? in 6.24 "!src" seems to add src to ignore instead

Asked By
Asked At
2017-11-03 21:31:31

Found 15 possible answers.

User Answered At Possible Answer
loganfsmyth 2017-11-03 21:33:00 Yep for beta
yaohan.chen 2017-11-03 21:47:40 still the smae problem. If I use "./", it ignores the src files too
loganfsmyth 2017-11-03 21:49:00 Alright not sure then sorry
yaohan.chen 2017-11-03 21:50:34 no problem, thanks for your time where is the code that handles the ignore option? seems kind of small I was using that for the main app already, but I spent a lot of time trying to find the equivalent for babel-node or .babelrc I ended up just using require('babel-register')({ignore: function(filename) { ... })
loganfsmyth 2017-11-03 21:56:26
yaohan.chen 2017-11-03 22:03:07 is there a switch to turn on those debug lines?
loganfsmyth 2017-11-03 22:10:00 Environmental variable, you can try DEBUG=babel:config:* babel-node , so babel-node with a prefix
yaohan.chen 2017-11-03 22:22:57 hmm what is this syntax (0, _pirates.addHook)(...)
loganfsmyth 2017-11-03 22:23:54 It calls the function without setting this inside addHook, otherwise calling an imported function would pass the wrong this context
hzoo 2017-11-03 22:24:03 should add that to the faq, it's a common question
yaohan.chen 2017-11-03 22:29:08 so it's different from just _pirates.addHook(...)? But (0, _pirates) just evaluates to _pirates right? That's weird
justin-summerlin 2017-11-03 22:29:27 Is it expected that preset-env targeting node 8.9 still uses _asyncToGenerator ?
yaohan.chen 2017-11-03 22:30:42 oh I get it
loganfsmyth 2017-11-03 22:37:42 @justin-summerlin does it get used if you set it to an earlier node minor version? Also :wave: :p
justin-summerlin 2017-11-03 22:43:36 let me try Looks like it, it also happens if I use 7.x or 9.x

Related Questions