react-async-states icon indicating copy to clipboard operation
react-async-states copied to clipboard

Inline devtools styles

Open incepter opened this issue 1 year ago • 0 comments

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

incepter avatar Jan 23 '24 10:01 incepter