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

Provide both ESM & CJS bundles & Publish v2.3.4 #30

Merged
merged 2 commits into from
Sep 20, 2024
Merged

Conversation

7PH
Copy link
Owner

@7PH 7PH commented Sep 20, 2024

Fixes #29

Changes:

  • ./build/src/index.d.ts: type declaration
  • ./lib/index.esm.js: ESM bundle
  • ./lib/index.cjs: CJS bundle (same as before, but generated using esbuild rather than tsc)
  • ./dist/powerglitch.min.js: IIFE bundle (unchanged)
  • ./package.json: Add links to GH repo, specify CJS/ESM locations

Copy link

github-actions bot commented Sep 20, 2024

size-limit report 📦

Path Size
dist/powerglitch.min.js 1.95 KB (0%)

@7PH 7PH force-pushed the 7ph/fix-package-export branch from 96f79bd to 5f26141 Compare September 20, 2024 18:01
@7PH 7PH marked this pull request as draft September 20, 2024 18:02
@7PH 7PH force-pushed the 7ph/fix-package-export branch 3 times, most recently from 60f220c to d211c5c Compare September 20, 2024 18:11
Repository owner deleted a comment from sonarqube-cloud-dev bot Sep 20, 2024
Repository owner deleted a comment from sonarqube-cloud-dev bot Sep 20, 2024
@7PH 7PH force-pushed the 7ph/fix-package-export branch from d211c5c to fa52497 Compare September 20, 2024 18:19
@7PH 7PH force-pushed the 7ph/fix-package-export branch from fa52497 to 0ab7f6d Compare September 20, 2024 18:27
Copy link

Repository owner deleted a comment from sonarqube-cloud-dev bot Sep 20, 2024
Repository owner deleted a comment from sonarcloudsquad3 bot Sep 20, 2024
@7PH 7PH marked this pull request as ready for review September 20, 2024 18:33
@7PH 7PH merged commit 618bba4 into master Sep 20, 2024
7 checks passed
@7PH 7PH deleted the 7ph/fix-package-export branch September 20, 2024 19:01
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.

Wrong package type or TS configuration
1 participant