noname0310 / typescript-webpack-template

webpack template with vanilla typescript on browser environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

typescript-webpack-template

A project template that support hot reloaded and allows you to use the browser environment vanilla typescript.

This template has the following features

  • Hot reload
  • Use the browser environment vanilla typescript
  • Strict lint settings
  • Image file import on typescript (type definition)
  • No js file for any configuration
  • Provide basic ts, css, html template files

Recommend to use this template if

  • If you want to use the browser environment vanilla typescript
  • If you don't want to set up cumbersome configuration files
  • If you are creating an application that is not a library
  • If you want to optimized output files(bundled files)

Usage

for start development server

npm i
npm start

for build

npm run build

note: don't forget to change the name of the project in package.json

About

webpack template with vanilla typescript on browser environment

License:MIT License


Languages

Language:TypeScript 91.2%Language:HTML 6.5%Language:CSS 2.2%