Bulma Customization with Webpack Bundler
- Customize Bulma
- Optimize bundle size
- Implement critical path styling
mkdir bulma-webpack
cd $_
echo "# bulma-webpack" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:m99coder/bulma-webpack.git
git push -u origin master
echo "node_modules" > .gitignore
npm init -y
npm install bulma --save
npm install webpack webpack-cli --save-dev
npm install css-loader sass-loader node-sass mini-css-extract-plugin --save-dev
{
"scripts": {
"build": "webpack --mode production",
"dev": "webpack --mode development"
}
}