You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building a small component library with "vite": "^2.9.1" and "@vitejs/plugin-vue": "^2.3.2",, vite build always produces the following error:
...
vite v2.9.14 building for production...
transforming (6) ...
✓ 9 modules transformed.
dist/components.es.js 5.75 KiB / gzip: 1.93 KiB
dist/style.css 10.08 KiB / gzip: 2.65 KiB
rendering chunks (1)...[unocss:global:build:generate] [unocss] does not found CSS placeholder in the generated chunks,
this is likely an internal bug of unocss vite plugin
error during build:
Error: [unocss] does not found CSS placeholder in the generated chunks,
this is likely an internal bug of unocss vite plugin
...
There is just one basic .vue component for testing that is exported with
import '@unocss/reset/tailwind.css';
import 'uno.css';
export { default as Test } from "./Test.vue";
When changing to the latest (v3) version of vite, everything works fine. Unfortunately I am using histoire, which is not Vite 3 compatible yet.
The resulting style.css are the same with and without the error, but the build stops before generating the umd version.
The text was updated successfully, but these errors were encountered:
When building a small component library with
"vite": "^2.9.1"
and"@vitejs/plugin-vue": "^2.3.2",
,vite build
always produces the following error:There is just one basic .vue component for testing that is exported with
When changing to the latest (v3) version of vite, everything works fine. Unfortunately I am using histoire, which is not Vite 3 compatible yet.
The resulting style.css are the same with and without the error, but the build stops before generating the umd version.
The text was updated successfully, but these errors were encountered: