Webpack loader
Style Url
Replace object url to string css
Spoiler Process performed with node-sass and postcss using the plugins autoprefixer and postcss-preset-env
Example
.main
FromstyleUrl: './index.scss'TostyleUrl: `.main{color:red}.main.top{color:blue}`
webpack
install: npm i -D style-url-webpack
test: /\.js$/ loader: 'style-url-webpack' exclude: 'node_modules' include: path