This PR adds index.js, allowing angular-bootstrap-lightbox to be imported via require(). Without this, node (via webpack, and likely other bundlers) fails to locate the dist/angular-bootstrap-lightbox.js file and throws a Module not found: Error: Cannot resolve module 'angular-bootstrap-lightbox' error.
This PR adds
index.js
, allowing angular-bootstrap-lightbox to be imported viarequire()
. Without this, node (via webpack, and likely other bundlers) fails to locate thedist/angular-bootstrap-lightbox.js
file and throws aModule not found: Error: Cannot resolve module 'angular-bootstrap-lightbox'
error.