James Skemp e599dfb501 | ||
---|---|---|
dist | ||
src | ||
.gitignore | ||
LICENSE.md | ||
README.md | ||
package-lock.json | ||
package.json | ||
tsconfig.json | ||
webpack.config.js |
README.md
Webpack + TypeScript Template
This repo contains a simple template with TypeScript and Webpack setup.
TypeScript code can be added to the src
directory and built into the dist
directory by running npm run build
or npm run build:dev
from the root directory.
Getting Started
- Customize
package.json
. - Update all instances of
webpack-typescript-template
in the code. - Run
npm install
from the root directory. - Run
npm run build:dev
to verify that a development build can be generated. A newbundle.js
file should be created in thedist
directory.
Next Steps
- Customize
index.ts
and add additional files to thesrc
directory as needed. - If desired, install additonal webpack plugins, such as to handle HTML files.