bundle-loader icon indicating copy to clipboard operation
bundle-loader copied to clipboard

[Question] Usage with webpack 2 - dynamic import

Open emmenko opened this issue 7 years ago • 1 comments

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

emmenko avatar May 07 '17 20:05 emmenko

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

zdila avatar Aug 23 '17 11:08 zdila