babel-plugin-css-modules-transform icon indicating copy to clipboard operation
babel-plugin-css-modules-transform copied to clipboard

preprocessor errors and missing files are swallowed

Open samsch opened this issue 5 years ago • 0 comments

Reproduction repo: https://github.com/samsch/css-modules-transform-scss-no-error

Preprocessor errors are swallowed and ignored. Specifically, errors thrown from the function exported from the preprocessCss option file don't cause the build to fail.

Additionally, if a require()d .scss file isn't found, the build continues without error.

Both cases are shown in the repro repo.

samsch avatar May 21 '19 20:05 samsch