-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Use the excel-export package in the slickgrid-vanilla-bundle version? #409
Comments
closing since I believe the question was answered |
dear Ghislain, Thank you very much for your attention, I use slickgrid-universal on Sharepoint so I make reference to "slickgrid-vanilla-bundle.js", this is my difficulty, as I don't have much knowledge to transform the excel-Export package to the " vanilla-bundle"... within my limitations I tried to generate the bundle, but I wasn't successful I always stop at the error: Please would it be possible for you to help me once again with tips? How to generate the package correctly or helping me with the error. Graciously, |
That's a WebPack 5 error and if you read carefully it says that "stream" (and possibly more packages like node "core" and other packages) used to have polyfill included in WebPack 4 but that got removed in WebPack 5 and that caused a lot of user problems and a lot of them complaining about it. If you search over the net, you can find this SO How to Polyfill node core modules in webpack 5 or this GitHub issue in my case, I just disable the warning and won't have the polyfill (so it won't work on old browser like IE but I don't care), just add a slickgrid-universal/examples/webpack-demo-vanilla-bundle/webpack.config.js Lines 41 to 52 in e703789
If you really want to add the polyfill to still support the old browser, I think you can add this to your {
...
"compilerOptions": {
"paths": {
"stream": [ "./node_modules/stream-browserify" ]
},
} So anyway, this is a WebPack issue, it's not related to the library. |
Great... worked perfectly.... |
another happy user, you can also upvote if you like the lib 😉 ⭐ |
Hi!
Sorry for my lack of knowledge, but how do I use the excel-export package in the slickgrid-vanilla-bundle version?
From now on, I thank you for the excellent work.
The text was updated successfully, but these errors were encountered: