Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

样式没办法按需加载 #57

Open
chenyulun opened this issue Feb 18, 2022 · 1 comment
Open

样式没办法按需加载 #57

chenyulun opened this issue Feb 18, 2022 · 1 comment

Comments

@chenyulun
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
多组件构建场景,

.
├── src
│   ├── button
│   │   ├── demo
│   │   └── button.vue.d.ts
│   └── index.d.ts
├── style.css
├── vfctest.es.js
└── vfctest.umd.js

多个组件的样式全部都被打进入style.css里面了

Describe the solution you'd like
A clear and concise description of what you want to happen.
需要单独构建es的文件夹,单独对文件进行构建,dumiesm:'babel'配置一样,
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
类似vant构建esm模块或者dumies
Additional context
Add any other context or screenshots about the feature request here.

@dewfall123
Copy link
Owner

你可以先直接改项目中的打包逻辑,我改也是需要改模板项目 https://github.com/dewfall123/vlib-template.

后续应该可以支持下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants