opentiny / tiny-vue

TinyVue is an enterprise-class UI component library of OpenTiny community, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.
https://opentiny.design/tiny-vue
MIT License
1.54k stars 253 forks source link

🐛 [Bug]: farm无法构建 #1881

Open GaoNeng-wWw opened 1 month ago

GaoNeng-wWw commented 1 month ago

Version

3.17.2

Vue Version

3.4.0

Link to minimal reproduction

https://github.com/GaoNeng-wWw/tiny-vue-bug-repo/tree/farm-modal-can-not-build

Step to reproduce

  1. git clone https://github.com/GaoNeng-wWw/tiny-vue-bug-repo/tree/farm-modal-can-not-build
  2. pnpm i
  3. pnpm run build

What is expected

可以正常打包

What is actually happening

pnpm build 

> vue-example@1.0.0 build D:\code\tiny-vue-bug-repo
> farm build

[ Farm ] Using config file at D:\code\tiny-vue-bug-repo\farm.config.ts
[ building ] ⠐ transform (2737) node_modules/.pnpm/@opentiny+vue-renderless@3.17.6/node_modules/@opentiny/vue-renderless/timeline-item/index.js                        
[ Farm ] Error: Failed to build: Error: Parse `node_modules/.pnpm/@opentiny+vue-theme-mobile@3.17.0/node_modules/@opentiny/vue-theme-mobile/modal/index.css` failed.
 Error: Parse `node_modules/.pnpm/@opentiny+vue-theme-mobile@3.17.0/node_modules/@opentiny/vue-theme-mobile/modal/index.css` failed.
 Error:   × Expected Declaration value
   ╭─[node_modules/.pnpm/@opentiny+vue-theme-mobile@3.17.0/node_modules/@opentiny/vue-theme-mobile/modal/index.css:1:1]

What is your project name

/

Any additional comments (optional)

No response

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: farm cannot be built