Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Publish on npm? #49

Open
okonet opened this issue Jan 18, 2015 · 5 comments
Open

Publish on npm? #49

okonet opened this issue Jan 18, 2015 · 5 comments

Comments

@okonet
Copy link

okonet commented Jan 18, 2015

I'm using npm for dependencies and it would be cool if you would publish this package on npm as well. Thanks in advance.

@Prinzhorn
Copy link
Owner

Please explain your workflow with npm.

@okonet
Copy link
Author

okonet commented Jan 23, 2015

I use webpack to bundle my deps. It allows you to use commonjs in your code like:

var module = require("module")

Also related read: http://blog.npmjs.org/post/101775448305/npm-and-front-end-packaging

@Prinzhorn
Copy link
Owner

This does only somewhat answers my question. Do you only want skrollr-stylesheets published on npm or do you need CommonJS or AMD? How would you use it with webpack (I've never used webpack)?

I'm not sure if this will work out with skrollr-stylesheets, as it should best be loaded ASAP, as the very first script.

@okonet
Copy link
Author

okonet commented Jan 24, 2015

I was thinking of cjs but amd will also work. Actually, you can load almost everything with webpack. I would load it when with webpack along with skrollr.

Regards,
Andrey Okonetchnikov

On 24.01.2015, at 19:29, Alexander Prinzhorn [email protected] wrote:

This does only somewhat answer my question. Do you only want skrollr-stylesheets published on npm or do you need CommonJS or AMD? How would you use it with webpack (I've never used webpack)?

I'm not sure if this will work out with skrollr-stylesheets, as it should best be loaded ASAP, as the very first script.


Reply to this email directly or view it on GitHub.

@Prinzhorn
Copy link
Owner

I published it, but didn't change any of the code. I was thinking about cjs, but skrollr-stylesheets doesn't export anything. It doesn't really work that way.

https://www.npmjs.com/package/skrollr-stylesheets

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

No branches or pull requests

2 participants