scss-vars-test
minimum reproducible test repo for inject scss variables
install
yarn
scripts
development
yarn run dev
production
yarn run build
debug scripts above
You can use two debug configurations dev
and build
in VSCode debug view.
problem
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.