Make default.css import compatible with umbrella
Open
@midigofrank is already working on this.
Since Jul 31, 2026.
bug
- Dominant language
- Elixir
- Stars
- 296
- Forks
- 86
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 50
Description
Building Lighting from an umbrella app gives this error on $ mix tailwind default --minify:
Error: Failed to find '../../deps/petal_components/assets/default.css'
in [
/home/rogerio/Workspace/openfn/umbrella/apps/lightning/assets/css
]
at /snapshot/tailwindcss/node_modules/postcss-import/lib/resolve-id.js:35:13
at async LazyResult.runAsync (/snapshot/tailwindcss/node_modules/postcss/lib/lazy-result.js:396:11)
at async build (/snapshot/tailwindcss/lib/cli/build/index.js:49:9)
** (Mix) `mix tailwind default --minify` exited with 1
The cause is this hardcoded path:
./apps/lightning/assets/css/app.css:6:@import '../../deps/petal_components/assets/default.css';
Version number
2.0.0
I have reproduced this locally on main:
- Yes
- No
To Reproduce
- Create an umbrella app
- Clone lighting repo under apps
- Run
mix setupon the umbrella root - Run
mix assets.deploy
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.