-
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
Usage outside of Webpack #30
Comments
Actually, |
You’re completely right, I have misrepresented the relationship between this tool and the Webpack build process. Nevertheless, I would still like to reiterate my suggestion/request. I don’t have Webpack, and I need to handle my own list of dependencies, but I would still benefit from using the rest of this tools for license validation and notice file generation. |
It looks like the industry is shifting away from Webpack and, in part, to Vite (among others). Especially in the Vue community (which my project uses). I'm sure it's not an easy task to change, but I also lend my vote that it would be fantastic to see this support Vite also, or something perhaps more generic/portable. |
Unfortunately, it does not seem to work with next.js. Also see simiarl issue at |
Would you consider an option to expose the use of this tool outside of the Webpack compilation? I am aware “webpack-plugin” is in the title, but webpack-specific code in this project is a very small part, just an API adapter, effectively. There’s still
My particular use case is to use it with an app built with Snowpack, but it could also be beneficial with any other way of building an app. There are existing 3rd-party tools, like license-checker, but there’s a lot to like about this particular one: the options, the generated notices file.
If you are open to the idea, I would consider making a small PR. I would start by adding two public functions
validateLicenses(dependencies, options)
andgenerateNotices(dependencies, options)
at the top level as an alternative to the LicenseCheckerWebpackPlugin. Possibly a tiny CLI, too.The text was updated successfully, but these errors were encountered: