Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Make ngToast compatible with amd-named & commonjs bundlers #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leigh-johnson
Copy link

@leigh-johnson leigh-johnson commented Jul 27, 2016

Quick fix to allow AMD-named & CommonJS bundlers like Browserify, RequireJS, Webpack to roll up ngToast. Without this, bundlers have to have to shim ngToast's dependencies and export the module's contents explicitly.

@tameraydin
Copy link
Owner

tameraydin commented Aug 8, 2016

Thanks for the PR! ..How does this intervene with #83? Wouldn't make more sense if it was exporting the module name instead of its contents?

@Heidric
Copy link

Heidric commented Apr 25, 2017

Any ETA on this PR being merged?

@stevenvachon
Copy link

@tameraydin index.js exports the module name. Can we merge and release this, please?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants