-
Notifications
You must be signed in to change notification settings - Fork 163
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
Added package.json #13
base: master
Are you sure you want to change the base?
Conversation
Wow, need this ! |
👍 |
1 similar comment
👍 |
👍 |
👍 |
@JeremyFagis this isn't enough - is it? We'd need to do something like require('sprint.js');
window.$('#beep-boop'); but if we added a commonjs-wrapper (#3) we'd do var $ = require('sprint.js'); |
A better approach would be to use a build system like gulp, who could automize the js minification, and the browser/amd/commonjs module wrapping(via gulp-umd, for instance). |
@philplckthun if you prefer to wrap and minify manually each time you modify a single line of code, why not :) |
@nervo Well, I was not saying that I prefer to minify manually! I said it doesn't make sense to use gulp-umd as long as gulp is not implemented at all. And that should be done with a full modularization of sprint in a seperate branch. 😉 |
@philplckthun 'got it :) |
+1 |
2 similar comments
👍 |
👍 |
Prepared npm package.