Hi, I'm having the same problem as #31 and I'd really appreciate some help. I have a much simpler config so I figured I'd open a separate issue.
I'm using Bootstrap with a little bit of custom CSS and I'm injecting content in the DOM with JavaScript. This plugin runs last in my webpack config.
- The code: Glitch app
- Steps to reproduce:
- Run
webpack in Glitch console
- Expected behavior: Critical detects the CSS from index.html
- What happens: I get "css should not be empty" error even though it's seemingly in the right place (/public/main.css) and not empty
- Temporary fix: Explicitly specifying the CSS file in the plugin config
@thescientist13 mentioned that the issue might be due to empty HTML at the time of evaluation, but it's not quite empty, there is an h1 element there.
Hi, I'm having the same problem as #31 and I'd really appreciate some help. I have a much simpler config so I figured I'd open a separate issue.
I'm using Bootstrap with a little bit of custom CSS and I'm injecting content in the DOM with JavaScript. This plugin runs last in my webpack config.
webpackin Glitch consolewebpackand thenrefreshto update the editor with files generated from the console@thescientist13 mentioned that the issue might be due to empty HTML at the time of evaluation, but it's not quite empty, there is an
h1element there.