Rollup + TypeScript + Pug + SASS template with no plan for JavaScript frameworks, whatsoever
Rollup + TypeScript + Pug + SASS template with no plan for JavaScript frameworks, whatsoever
npx degit patarapolw/minimal-rollup-ts-pug-sass-template PATH_TO_YOUR_PROJECT_FOLDER_OR_OMIT
ROUTER_MODE=history
for SPA history modeELECTRON=1
for Electron mode (coupled with yarn build:electron
and yarn watch:electron
)Rollup currently have a problem of HTML not being watched. Serve in JavaScript / TypeScript to prevent this.