benjaminpreiss / webpack_conf

A webpack configuration for webdevs using scss, postcss, html and js. Based on HtmlWebpackPlugin. Comes with postcss autoprefixer.
0 stars 0 forks source link

Add sass-loader json variable file support #4

Open benjaminpreiss opened 4 years ago

benjaminpreiss commented 4 years ago

Outsource variables to variables.json file and reference them in sass and js.

benjaminpreiss commented 4 years ago

Can be done with node-sass-json-importer: https://github.com/pmowrer/node-sass-json-importer

See this link for more info

benjaminpreiss commented 4 years ago

Add case conversion!