/rollup-application

Application template for rollup and typescript, powered by github actions

Primary LanguageJavaScriptMIT LicenseMIT

rollup-application

build version

Application template for rollup and typescript, powered by github actions. Dependencies always up to date thanks to dependabot.

See rollup-library if you need a library template.

Usage

Click on Use this template then wait for the initialize workflow to complete. The package name and urls will be automatically replaced at initialization. You may want to change the author name in package.json and LICENSE.

Features

Bundling

  • Rollup, TypeScript and ESLint
  • IIFE bundle
  • Path alias from tsconfig.json synced with rollup
  • Development server with SSL and livereload
  • Views with EJS
  • Stylesheets with SASS including CSS reset and easing variables
  • Static files
  • Terser

Continuous integration (Github Actions)

  • Build on pull requests and push to master
  • Build and deploy to Github Pages on push to master
    Requires PERSONAL_TOKEN secret to be set as a GitHub personal access token with full repo scope.
    The deploy workflow is disabled by default, remove the .sample suffix to enable it.