A simple template repository with Webpack for bundling with Typescript support.
To use this repository for your webpack-typescript projects:
Step 1: Follow Github's official instructions on Creating a repository from a template.
Step 2: Once your new repository is created, clone it to your local system.
# To clone repository
git clone https://github.com/<GITHUB_USERNAME>/<REPOSITORY_NAME>.git
# Change to cloned repository
cd <REPOSITORY_NAME>
# NOTE: Update <GITHUB_USERNAME> and <REPOSITORY_NAME> properly.
Step 3: Once cloned, you can run below commands from your repository directory.
To install dependencies:
# Install dependencies
npm install
To run development server:
# Run development server
npm run serve
To generate build:
# Build the project to dist/ folder
npm run build
To build and preview:
# Preview the contents of the dist/ folder
npm run preview