Prinzhorn/skrollr-stylesheets

Publish on npm?

Opened this issue · 5 comments

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

Please explain your workflow with npm.

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

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.

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 notifications@github.com 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.

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