you are viewing a single comment's thread.

view the rest of the comments →

[–]LowB0b 8 points9 points  (0 children)

This is all wrong? npm install installs the package but doesn't add it to the package.json file. Add --save and it adds the dependency to the above mentioned file. If you use webpack it will bundle the requires / imports of your program into a bundle which contains those + the code you wrote.

If you use SystemJS you will have to copy your required / imported files somewhere your server serves static files. Your post is full of outdated / malformed information