Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.37 KB

README.md

File metadata and controls

40 lines (33 loc) · 1.37 KB

JS for web through Typescript using webpack

This project demonstrates how to use Webpack to bundle JavaScript resources with TypeScript as the source code. The project is configured to transpile TypeScript files, bundle them, and output a single JavaScript file ready for use in a web application.

Table of Contents

  • Introduction
  • Features
  • Prerequisites
  • Installation
  • Scripts

Introduction

This project is a simple setup for building web JavaScript resources using TypeScript and Webpack. It includes configuration files for both Webpack and TypeScript, demonstrating how to integrate the two for efficient development and bundling of TypeScript code.

Features

  • TypeScript transpilation
  • JavaScript bundling with Webpack
  • Source maps for debugging
  • Development server with live reloading

Prerequisites

Before you begin, ensure you have met the following requirements:
  • Node.js and npm installed
  • Basic understanding of TypeScript and Webpack

Installation

Just run `npm install`

Scripts

  • `npm run build`: Transpiles TypeScript files and bundles them using Webpack.
  • `npm start`: Starts the Webpack development server with live reloading.