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

Add support for JSPM #70

Open
markhughes opened this issue Apr 14, 2016 · 0 comments
Open

Add support for JSPM #70

markhughes opened this issue Apr 14, 2016 · 0 comments

Comments

@markhughes
Copy link

Hi! I'm using bigSlide for a homepage. However, it's support for JSPM is not so good.

~/Projects/Homepage on  master! ⌚ 14:18:42
$ jspm install bigslide=npm:bigslide
     Looking up npm:bigslide
     Updating registry cache...
     Downloading npm:[email protected]

warn Main entry point not found for npm:[email protected].
     Adjust this property in the package.json or with an override, setting "main": false if this is the intention.

ok   Installed bigslide as npm:bigslide@^0.11.0 (0.11.0)
ok   Install tree has no forks.

ok   Install complete.

Although it's saying installation complete, I cant actually import it because it cant find the script file to work with

For anyone wanting to make this work, you can do some overrides like this (depends on your environment setup though):

jspm install bigslide=npm:bigslide -o "{ main: 'dist/bigSlide', shim: { 'dist/bigSlide': ['jquery'] } }"
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

No branches or pull requests

1 participant