minimum reproducible test repo for inject scss variables
yarn
yarn run dev
yarn run build
You can use two debug configurations dev
and build
in VSCode debug view.
There are two html pages, index.html
and home.html
, Scss files was imported in index and home.
- Import same scss file in different entry,
data
only emit once,loaderContext.cacheable(false)
is useless. - The buttons in
dev
andbuild
have different styles.