PostCSS to bundle, import from NPM, local or remote URLs, plus postcss-preset-env for latest CSS features.
Rollup to bundle, treeshake, import from NPM, local or remote URLs, import processed CSS, plus babel-preset-env for latest JS features.
Browsersync with all the goodies for local dev: live reload, hot swap CSS, scroll syncing, remote debugging, etc. Prod server is just a static server.
Watch me break it down on YouTube!
OR
mkdir new-project-name && cd $_git clone --depth=1 https://github.com/argyleink/shortstack.git . && rm -rf ./.git
OR (essentially the same thing with npx+degit)
npx degit argyleink/shortstack#main
npm inpm start
Running npm start runs Browsersync, Rollup and Postcss concurrently, watching changes to your files in ./app and refreshes connected browsers.
Running npm run build compiles and minifies your code in app and outputs the optimised result to a folder called dist that's ready for static hosting.
Running npm run production will build your project and start a server at dist.