Home

Awesome

<img src="https://github-sect.s3-ap-northeast-1.amazonaws.com/logo.svg" width="28" height="auto"> webpack-postcss

CircleCI

My Personal Boilerplate

Branches

BranchDescription
masterPostCSS that compliant tomorrow’s CSS syntax as much as possible w/ postcss-preset-env
moduleES Modules <script type="module"><br><ul><li>Support for Differential Serving of Modern and Legacy bundle.</li><li>In the next version this branch will be merged into the master branch.</li></ul>
sass+ SASS<br>- PostCSS
tailwindcss+ Tailwind CSS
typescript+ TypeScript<br>- JavaScript
react☝️ You can also use React partially<br>+ React
react-typescriptreact + typescript
vuejs☝️ You can also use Vue.js partially<br>+ Vue.js
webpack-dev-server+ webpack-dev-server

:beer: Setup

:hamburger: Commands

See package.json

npm scriptDescription
npm run devWatching for Dev
npm run buildBuilding for Deploy

:bookmark: NOTES

Troubleshooting

Remove Cache (SWC / ESLint / webpack)

$ rm -rf node_modules/.cache/swc-loader
$ rm -rf node_modules/.cache/eslint-loader
$ rm -rf node_modules/.cache/webpack
# Remove all
$ rm -rf node_modules/.cache

Known Issues on webpack 5

@ https://github.com/GoogleChromeLabs/size-plugin/issues/40