Open joegnis opened 2 years ago
According to the code, when extract is false, the generated stylesheet is exported as stylesheet, not what current doc says:
extract
stylesheet
...and the CSS string is also available as default export unless extract: true:
It should be something like:
// Inject to `<head>` and also available as `styleSheet` import style, { stylesheet } from './style.css'
According to the code, when
extract
is false, the generated stylesheet is exported asstylesheet
, not what current doc says:It should be something like: