Skip to content

Webpack to bundle JavaScript resources with TypeScript as the source code

Notifications You must be signed in to change notification settings

adnannoor94/webpack-with-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Webpack to bundle JavaScript resources with TypeScript as the source code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published