Skip to content

NetherGranite/tailwind-postcss-plugin-issue-repro

Repository files navigation

Run this repro

Install dependencies:

npm ci

Run the Tailwind build (using postcss-loader in Webpack):

npm run build

Observe that:

  1. Tailwind prints an error to the console but does not throw, consequently not aborting Webpack.
  2. Webpack successfully runs and writes meaningless output to bin/output.css.
  3. This output doesn't contain any of the valid CSS in input.css.

This is especially bad when a bundler like Webpack is configured to use a persistent cache; Tailwind only prints these errors to the console the first time and then never again until the cache happens to be invalidated.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors