![]() It specifies which version of Core JS to use for the polyfills that Babel adds automatically with "usage" mode for preset-env. I'm doing that now, but I do not see a corejs option documented on babel-preset-env. Okay, so I think the easiest way to handle this will be to expand the UI options to allow this configuration. I don't know what would be relevant, but if I missed something, just ask. Your configuration (any details about your system that you think might be relevant) You'll notice that now, Babel won't polyfill your arrow functions at all anymore, because CodeKit ignores this file.Ī link to download a simplified project or file that shows the issue: You'll notice that Babel will have transpiled the arrow functions in YOUR code, but will have left those from vanilla-lazyload. Install, but do not import, the prerequisite modules.babelrc.) This is the standard Babel polyfilling process. Let's check that the rest of the process works properly by using. ![]() (Normally, this would be a file, but CodeKit ignores that.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |