triggy-banner-web-component
v1.1.20
Published
webpack setup for writing a javascript library and making it availabe as script or npm package
Readme
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.
