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
{{ message }}
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.
Reference test.css in App.vue <style src="./test.css"></style>
What is expected?
$ rollup -c
App.vue → dist/app.js...
created dist/app.js in 602ms
✨ Done in 2.12s.
What is actually happening?
$ rollup -c
App.vue → dist/app.js...
[!] (plugin vue) Error: /private/tmp/vue/test.css is not parsed yet
test.css?vue&type=style&index=0&src&lang.css
Error: /private/tmp/vue/test.css is not parsed yet
at getDescriptor (/private/tmp/vue/node_modules/rollup-plugin-vue/dist/index.js:261:11)
at Object.transform (/private/tmp/vue/node_modules/rollup-plugin-vue/dist/index.js:94:36)
at /private/tmp/vue/node_modules/rollup/dist/shared/rollup.js:18724:25
at processTicksAndRejections (internal/process/task_queues.js:93:5)
error Command failed with exit code 1.
Version
6.0.0-beta.9
Reproduction link
Official rollup-plugin-vue css module example
Steps to reproduce
<style src="./test.css"></style>
What is expected?
What is actually happening?
After trying to make it work on my own project for hours, I've decided to reproduce in official css module example. The error appeared right in my first attempt, so far I've tracked error until the following function:
https://github.com/vuejs/rollup-plugin-vue/blob/next/src/index.ts#L383
The text was updated successfully, but these errors were encountered: