Skip to content

Adds dynamic import flag#1

Open
thiagoarrais wants to merge 1 commit intomasterfrom
dynamic-import
Open

Adds dynamic import flag#1
thiagoarrais wants to merge 1 commit intomasterfrom
dynamic-import

Conversation

@thiagoarrais
Copy link
Copy Markdown
Owner

Q                       A
Fixed Issues? Fixes babel/babel-loader#515
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature? 👍
Tests Added + Pass? 👍
Documentation PR Link
Any Dependency Changes? 👍
License MIT

This interprets the supportsDynamicImport caller flag. It was introduced in babel-loader by babel/babel-loader#660 and signals that the target env supports dynamic imports natively.

When this gets merged, it should no longer be necessary to manually include the dynamic import syntax plugin in the webpack config. Thus fixing babel/babel-loader#515.

References: babel/babel-loader#714, babel/babel-loader#515

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature request] include dynamic import syntax plugin automatically

1 participant