Skip to content

TypeScript prototype using DOM and inputs together with drag-and-drop features. Explores ES modules and WebPack as well as various TypeScript features such as generics and decorators..

Notifications You must be signed in to change notification settings

rob-bl8ke/prototype-input-drag-drop

Repository files navigation

Running the application

Use two terminals. Run npm start in the first terminal and tsc -w in the second terminal to start the TypeScript compiler.

Node Version

v20.15.0

Configuring Webpack

npm install --save-dev webpack webpack-cli webpack-dev-server typescript ts-loader clean-webpack-plugin
  • webpack - Plug in functionality to bundle and transform (minify) our code.
  • ts-loader and typescript - Installed locally. TypeScript intalled locally means your project won't break if you use a globally different version. The TS Loader tells WebPack how to convert TS to JavaScript.
  • webpack-dev-server - Use this to spin up a local server.
  • clean-webpack-plugin - Clean up the dist folder completely before building.

Other Libraries

npm i --save lodash

About

TypeScript prototype using DOM and inputs together with drag-and-drop features. Explores ES modules and WebPack as well as various TypeScript features such as generics and decorators..

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published