mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 00:01:10 +02:00
@tailwindcss/vite's enhanced-resolve looks for the 'style' export condition when resolving CSS imports. The previous exports field used plain string values which worked in dev but not in the Docker production build (Vite build mode). Adding explicit 'style' + 'default' conditions fixes the "'sources.css' is not exported under the condition 'style'" error. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
25 lines
462 B
JSON
25 lines
462 B
JSON
{
|
|
"name": "@mana/shared-tailwind",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
"./themes.css": {
|
|
"style": "./src/themes.css",
|
|
"default": "./src/themes.css"
|
|
},
|
|
"./sources.css": {
|
|
"style": "./src/sources.css",
|
|
"default": "./src/sources.css"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint ."
|
|
},
|
|
"peerDependencies": {
|
|
"tailwindcss": "^3.0.0 || ^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/typography": "^0.5.19"
|
|
}
|
|
}
|