prismicio / prismic-next

Helpers to integrate Prismic into Next.js apps
https://prismic.io/docs/technologies/nextjs
Apache License 2.0
57 stars 7 forks source link

chore: replace unbuild with Vite #43

Closed angeloashmore closed 2 years ago

angeloashmore commented 2 years ago

Types of changes

Description

This PR replaces unbuild with Vite to build the library.

See vite.config.ts for build details.

Checklist:

github-actions[bot] commented 2 years ago

size-limit report 📦

Path Size
./dist/index.mjs 0 B (-100% 🔽)
./dist/index.cjs 8.9 KB (+100% 🔺)
./dist/index.js 4.23 KB (+100% 🔺)
codecov-commenter commented 2 years ago

Codecov Report

Merging #43 (1f01abb) into main (dd2f06b) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #43   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines          672       672           
  Branches        33        33           
=========================================
  Hits           672       672           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.