-
Notifications
You must be signed in to change notification settings - Fork 100
Publish on npm? #49
Comments
Please explain your workflow with npm. |
I use webpack to bundle my deps. It allows you to use commonjs in your code like:
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,
|
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. |
I'm using npm for dependencies and it would be cool if you would publish this package on npm as well. Thanks in advance.
The text was updated successfully, but these errors were encountered: