generate bundle with a different targets
See original GitHub issueIn my babel config I configured my preset-env
to target IE11 and higher, and when I added the babel-esm-plugin I thought it would create another bundle which targets esmodules
regardless of the targets that are defined in the babel config (in my case IE11).
When I do a standalone build that targets esmodules the filesize is considerably smaller and preserves ES6 features like classes etc, but when I use the plugin with my babel config and inspect the ES6 bundle geneerated by this plugin it doesn’t preserve ES6 features.
Is this expected behavior or am I doing something wrong? If it’s unclear I could setup a test case to provide more information.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Can an Xcode project with multiple targets have different ...
Now create a group in Xcode for every of those folders and drag each of the new Settings.bundle directories to the corresponding group....
Read more >Xcode multiple targets vs separate… | Apple Developer Forums
I want to create multiple projects but all of them share the common code base. The only difference is name, bundle id, info....
Read more >one bundle target for multiple targets - Code - CMake Discourse
Hi, I have a project that produces 8 executable binaries, each as it's own target. Is it possible to have a “bundle-like” pseudo...
Read more >Manage Multiple Target Variant With React Native Apps
To be able to run multiple configurations simultaneously, we will need to set up a unique bundle ID for each of them. Select...
Read more >[feature requests] Multiple bundles/targets & platforms #724
add property "buildTarget" to bundle object that works like dependencies[x].env property (can specify multiple target concatenated with ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thanks for your replies! Yes the
.es6
file is getting generated, and while I was setting up my test case, I see that it does work as expected. For some reason in my project it isn’t…I’ll investigate some more.@prateekbh please let me know if you need any more info