Execute those codes after installing modules.
npm install --save-dev electron-rebuild
./node_modules/.bin/electron-rebuild
electron-webpack
provides .css
file configuration automatically, but that one was not suit for css-modules.
So we use .cssmodules
extension for css file.
Note: electron-webpack
provides way to modifying default configuration internally uses webpack-merge
's smart method, but that doesn't works well.
MIT