Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 499 Bytes

README.md

File metadata and controls

16 lines (9 loc) · 499 Bytes

Webpack Set Up For Writing Your Own JavaScript Library

How to Make the Project Work

1. Clone the repository

2. npm install

3. npm run build

There is a index.js generated inside dist directory. Add it as an external script to any of your projects. Any method can be accessed on $ in in your code after embedding the bundled file.

For example you can use $.capitalize in your javascript to use capitalize method

The babelrc is used by jest for code transpilation.