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

build(cdn): remove generated icon files from rollup config #940

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

roberttran-cc
Copy link
Member

Fixes #898

How to review

  • Checkout branch
  • Run (export VERSION=12.0.0 && npm run cdn-release:build) task
  • Check the dist-cdn/cc-remix.icons-{HASH}.js file contents
  • It should no more include all Remix icons and only include icons actually used in our Clever Components (43 icons)

Related impacts

Also impacts the NPM build: remix icons are no more "officially" included. More precisely, they are still available but not at the project root. This behavior is intended.

Reviewers

Two will be sufficient.

Copy link
Contributor

🔎 A preview has been automatically published : https://clever-components-preview.cellar-c2.services.clever-cloud.com/build/fix-cdn-config/index.html.

This preview will be deleted once this PR is closed.

Copy link
Contributor

@pdesoyres-cc pdesoyres-cc left a comment

Choose a reason for hiding this comment

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

LGTM. Well Done @roberttran-cc

Copy link
Member

@hsablonniere hsablonniere left a comment

Choose a reason for hiding this comment

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

Well done @roberttran-cc, I just tried it locally and it's perfect! 👍 👏

@roberttran-cc roberttran-cc merged commit 7b7a156 into master Jan 17, 2024
4 checks passed
@roberttran-cc roberttran-cc deleted the build/fix-cdn-config branch January 17, 2024 14:18
Copy link
Contributor

🔎 The preview has been automatically deleted.

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.

cc-icons: tree shaking issue with the CDN build
3 participants