Replies: 1 comment 1 reply
-
|
I stuck with the same issue building shared components library. Also I'm looking for a way to keep css file import in result file. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Related plugins
plugin-vue
plugin-vue-jsx
Describe the bug
I use this vite config
I want to output
HelloWorld.vueto the/components/helloworld.jsfile.But got the following files, It contains
HelloWorld.vue.jsandHelloWorld.vue2.js,how to comple into one
HelloWorld.jsfileReproduction
https://stackblitz.com/edit/vitejs-vite-zktjzh?file=vite.config.js
Steps to reproduce
npm run build
System Info
System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 16.14.2 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 7.17.0 - /usr/local/bin/npm npmPackages: @vitejs/plugin-vue: ^4.0.0 => 4.0.0 vite: ^4.1.4 => 4.1.4Used Package Manager
npm
Logs
No response
Validations
Beta Was this translation helpful? Give feedback.
All reactions