webpack-contrib / bundle-loader

Bundle Loader
MIT License
658 stars 59 forks source link

[Question] Usage with webpack 2 - dynamic import #52

Open emmenko opened 7 years ago

emmenko commented 7 years ago

Hey guys,

I'm a bit puzzled regarding the usage of this plugin with the "new" dynamic import implementation of webpack@2.

In our project we are using this plugin. Now that we are upgrading to webpack@2, should we keep using this plugin or is the preferred way now to use import? I couldn't find any mention about this in the documentation.

Thanks a lot

zdila commented 7 years ago

We migrated from bundle-loader to dynamic import(...) successfuly. For Babel we had to add babel-plugin-syntax-dynamic-import Babel plugin.