OpenFn / OpenFn/lightning

Make default.css import compatible with umbrella

Open
#1,775 1 comment 0 reactions 1 assignee View on GitHub

@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

  1. Create an umbrella app
  2. Clone lighting repo under apps
  3. Run mix setup on the umbrella root
  4. Run mix assets.deploy

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.