Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(webpack-plugin): ability to dedupe duplicated modules #2426

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

barak007
Copy link
Collaborator

@barak007 barak007 commented Apr 4, 2022

No description provided.

@barak007 barak007 changed the title added ability to dedupe duplicated modules feat: ability to dedupe duplicated modules Apr 4, 2022
@@ -147,7 +147,7 @@ export function getWebpackEntities(webpack: Compiler['webpack']): StylableWebpac
}: DependencyTemplateContext
) {
const stylableBuildData = getStylableBuildData(this.stylableModules, module);
if (!stylableBuildData.isUsed) {
if (!stylableBuildData.isUsed || stylableBuildData.isDuplicate) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check the injection of our runtime functions

@tomrav tomrav changed the title feat: ability to dedupe duplicated modules feat(webpack-plugin): ability to dedupe duplicated modules Jun 29, 2022
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.

2 participants