Skip to content
/ webpack-ts-starter Public template

Starter for development typescipt application with webpack

Notifications You must be signed in to change notification settings

Fafnur/webpack-ts-starter

Repository files navigation

Webpack ts starter

Starter for development typescript application with webpack. Russian

NOTE: Use Nx WEB instead of webpack-ts-starter. Read more on habr.

Clone starter

To get started, you should run command:

git clone [email protected]:Fafnur/webpack-ts-starter.git project

Install dependencies

After clone project, you should install dependencies:

yarn install

Development

For development, you can use the command that runs webpack dev server:

yarn run serve

Build

For build your application, run command:

yarn run build

For build your application on production, run command:

yarn run build:prod

After buld, 3 files will be generated in the dist folder:

  • index.html
  • bundle.js
  • style.css

The assets folder, which will contain all the necessary files.

Add libraries

For add libraries you can use command:

yarn add <lib-name>

Add polyfills

For add polyfills you can use core-js:

yarn add core-js

IE10 and IE11 requires the following for NgClass support on SVG elements

yarn add classlist.js

About

Starter for development typescipt application with webpack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published