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
copy LICENSE to the dist folder #807
Conversation
I'm not sure the premise is right, because |
@alubbe Yes, you are right that But the issue mainly comes to using it in the browser environment. In our current setup, we use a grunt script to copy everything we need from |
well in that case this solution isn't really good enough because your copy script could also choose to ignore any |
My point is that, the name However, what the user decides to do with the |
I've never used a |
Personally I'm not over stressed either way. On the one hand I agree with @alubbe in that when used via NPM, the dist folder is hidden behind the contract specified by the package.json file (and documented in the README). But then, on the other hand, this change is fairly minor and if people do choose to snip out the dist folder for their own purposes I don't have any thing against that. After all as @zypA13510 mentioned - it is functionally complete - so I'm inclined to merge it (after resolving the conflicts of course) I think though, I might add a word of caution in the README that you're on your own when you do so. The only documented exports are dist/exceljs.js (and exceljs.min.js) |
I think in most cases, the
dist
folder is intended to be used standalone. The lack of aLICENSE
file inside thedist
folder, however, means anyone who copies thedist
folder to use in a project, without copying the accompanyingLICENSE
file in the parent folder, would violate the MIT license and thus constitute copyright infringement.This PR makes sure the LICENSE file is copied to the
dist
folder to allow easier usage.