It will also be neccessary to install certain dependencies globally. Webpack should be installed globally with the following command npm install webpack -g
. TypeScript should also be installed globally like so: npm install typescript -g
. If you wish to use the webpack-dev-server, that should also be installed globally with the command npm install webpack-dev-server -g
. Installing these globally will add them to your path and allow you to use their functionality from the command line.
Working this way means that you do not need to use TypeScript, instead, you can simply delete the contents of the ./src/app/ts
folder and write ES2105 JS into the ./src/app/js
folder.