Skip to content

Instantly share code, notes, and snippets.

@matthewhartman
Created March 2, 2020 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewhartman/7f9becd15c948f62775e24a443d0cdcf to your computer and use it in GitHub Desktop.
Save matthewhartman/7f9becd15c948f62775e24a443d0cdcf to your computer and use it in GitHub Desktop.
Parcel Configuration for Typescript
{
"name": "parcel-example",
"version": "1.0.0",
"description": "A basic setup using Parcel - A blazing fast, zero configuration web application bundler",
"scripts": {
"start": "NODE_ENV=development parcel src/index.html --open",
"build": "NODE_ENV=production rm -rf dist && tsc --noEmit && parcel build src/index.html",
"clean": "rm -rf dist"
},
"private": true,
"devDependencies": {
"parcel-bundler": "^1.12.4",
"sass": "^1.26.2",
"typescript": "^3.8.3"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment