Skip to content

Comments

Treeshaking improvement discussion#52

Draft
pearofducks wants to merge 1 commit intomainfrom
treeshake
Draft

Treeshaking improvement discussion#52
pearofducks wants to merge 1 commit intomainfrom
treeshake

Conversation

@pearofducks
Copy link
Collaborator

No description provided.

target: 'esnext',
minify: false,
rollupOptions: {
external: ['vue']
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

For some reason adding all of pkg.dependencies here breaks treeshaking in consumer apps 😕

type: String,
default: 'alert'
},
...colorBooleanProps,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is already fixed in Warp - but this was causing the Alert component to be included in builds.

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.

1 participant