firebase / firebase/apphosting-adapters

Firebase deploy and next build result in different root directory for post-css

Open
#72 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
478
Forks
1.5k
Avg merge
3d 22h
Merged PRs (30d)
2

Description

I use tailwind css and the @tailwind directives. They need to be included in a global.css file. To do this in Next13 you can import "globals.css". This import works fine in dev mode and using next build. However when using firebase deploy the non of the global CSS is included.

Adding a tailwind config to the post CSS config using a relative URL reveals that post-css in firebase deploy thinks it's running from the root firebase folder rather than the ./hosting folder. This results in a number of config related issues including an empty globals.css file.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.