-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I'm currently unable to load a module that uses a default export. Specifically, styled-components uses default to conveniently wrap html elements which appears to break the loader.
To reproduce, try adding styled-components to your namespace. It should be added to the namespace, but webpack will be unable to load the default import at runtime.
use: {
loader: 'share-loader',
options: {
modules: ['styled-components'],
exclude: [],
namespace: 'test',
}
}
Metadata
Metadata
Assignees
Labels
No labels