-
-
Notifications
You must be signed in to change notification settings - Fork 8k
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
require with angular and browserify #339
Comments
Hello, same concern here. I have errors when importing xslx with jspm's SystemJS browser side. The issue I have is similar to systemjs/builder#45 (I get This could be solved by replacing the dynamic |
+1 |
We un-broke all of the require statements in 0.8.7 and included samples with browserify/requirejs/webpack. Please check against the latest version. @pietersv if you have a very small angularjs project, we can add to the main repo to make sure we don't break compatibility in future versions |
At this point I think we resolved the browserify/angular problems. @tkhyn I am not familiar with SystemJS, but please test against the latest version and raise a new issue if it is still failing. |
Received two issue reports related to the
require
calls:The first recommends getting rid of the string concatenations, e.g.
jszip = require('js'+'zip');
The seconds adds
jszip = require('js'+'zip');
in the case wheretypeof exports === undefined
.These changes make sense to me. But these relate to core code inherited from the main https://github.com/SheetJS/js-xlsx branch, and go beyond styling which was the intent of the https://github.com/protobi/js-xlsx fork.
require('js' + 'zip')
rather thanrequire('jszip')
?require('jszip')
whenexports
is undefined?The text was updated successfully, but these errors were encountered: