Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(umd): #340 pass in root instead of deps #377

Closed
wants to merge 1 commit into from
Closed

fix(umd): #340 pass in root instead of deps #377

wants to merge 1 commit into from

Conversation

Nate-Wilkins
Copy link

Follow outlined UMD (Universal Module Definition)
- https://github.com/umdjs/umd/blob/master/amdWeb.js

Related Issues:
- #340
- #284
- #307
@wonsikin
Copy link

wonsikin commented Oct 5, 2014

in your require config ,just export angular like this

shim: {
        'angular':{
            exports: 'angular'
        },
    }

@Nate-Wilkins
Copy link
Author

@wonsikin I have no clue how to fix this. My pr doesn't really solve this at all.

I'd personally rather not have ng-table require angular in it's dependencies list. Mostly because I'd like to setup my own paths/shim without requiring angular to be set to the module id angular ex. lib/angular

@e-cloud
Copy link

e-cloud commented Mar 25, 2015

@esvit, i think this PR is worth merging.

@mrniko
Copy link

mrniko commented Sep 16, 2015

+1

@christianacca
Copy link
Collaborator

As of version 2.0.0 angular is now a peer dependency. Also the library is packaged with webpack which means full support for the UMD format.

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

Successfully merging this pull request may close these issues.

None yet

6 participants