martonlederer / esbuild-plugin-postcss2

Use postcss with esbuild
MIT License
33 stars 19 forks source link

fix(sass): Watch included files as well #37

Closed surajshetty3416 closed 2 years ago

surajshetty3416 commented 2 years ago

Include all the included sass files to the esbuild's watchFiles list.

Example:

// main.scss
@import "./component.scss";

body {}

Changes in main.scss file used to trigger auto-rebuild but changes in component.scss were not triggering auto-rebuild.

surajshetty3416 commented 2 years ago

Due to lack of maintainer, moved required changes (https://github.com/frappe/esbuild-plugin-postcss2/pull/1, https://github.com/frappe/esbuild-plugin-postcss2/commit/0a417a036812dfd7b102190fde2b7ae84b5b1341) to fork and published the package under @frappe scope