https://github.com/lachee/svelte-webcomponent-packing
Svelete Discord Help
https://github.com/lachee/svelte-webcomponent-packing
Last synced: 2 months ago
JSON representation
Svelete Discord Help
- Host: GitHub
- URL: https://github.com/lachee/svelte-webcomponent-packing
- Owner: Lachee
- Created: 2023-05-05T09:30:37.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-05T09:31:12.000Z (about 3 years ago)
- Last Synced: 2025-03-20T07:46:19.483Z (about 1 year ago)
- Language: Svelte
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Broken Svelte Webcomponent
This is an example image cropper to showcase how the webcomponet fails to include the Cropper.js's css file.
The goal is to have everything included in the final bundle.js and no secondary .css file.
If it does have a secondary css-file, it must work on the shadow dom.
# Running
`pnpm dev` to see it working with vite
`pnpm build` to see it broken with webcomponent