- Code splitting - via webpack
- Babel 7
- Gulp 4
- scss / postcss
- Remove unused css - via purges
- SVG symbols
- Handle any static file type, compress images, css, etc
- eslint
- stylelint
- prettier
- jest
- clone the repo
- install the dependencies (npm install / yarn)
- run
npm run gen-cert
to create https tokens npm run start
will boot up the cms servernpm run build
will create a production build to use with craftcms
src/js/app.js
main entry point for webpacksrc/scss/style.scss
main scss file, includes tailwind importsdeploy
craftcms lives heredeploy/public
the public root folder
npm start
npm run build
npm run deploy
npm run gen-cert
npm run lint:js
npm run pretty
npm run generate-docs