Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
fix: CSS grouping must use require on explicit user package (#1019)
Browse files Browse the repository at this point in the history
  • Loading branch information
nchanged committed Jan 10, 2018
1 parent 1fbb79d commit 625c2d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/stylesheet/CSSplugin.ts
Expand Up @@ -207,7 +207,7 @@ export class CSSPluginClass implements Plugin {
debug(` grouping -> ${bundleName}`)

// Respect other plugins to override the output
file.addAlternativeContent(`require("~/${bundleName}")`);
file.addAlternativeContent(`require("${context.defaultPackageName}/${bundleName}")`);
return;
}

Expand Down

0 comments on commit 625c2d9

Please sign in to comment.