Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline devtools styles #193

Open
incepter opened this issue Jan 23, 2024 · 0 comments
Open

Inline devtools styles #193

incepter opened this issue Jan 23, 2024 · 0 comments

Comments

@incepter
Copy link
Owner

The actual way to make the devtools css working is to import:

import 'async-states-devtools/dist/style.css';

which will lead this extra css to make it to the bundle.

The goal is to eliminate this need before v2 lands, either by inlining all styles, or by using a js utility that will produce them on the fly.

Impact:

import 'async-states-devtools/dist/style.css'; will fail, but that's part of the v2. this css import should not be used and should not make it to the bundle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant