Plan
Plan copied to clipboard
Bundle library js with npm
I would like to be able to..
Keep libraries up to date in an automated way
Is your feature request related to a problem? Please describe.
Keeping copies of library js files makes it difficult to keep them up to date, since every time there is an update all of the files need to be downloaded and committed.
I don't know if it is possible to have just the javascipt and css libraries bundled by npm and then put in the plugin's web directory. This building wouldn't be necessary every time, just when updating the libraries. It could be placed under a separate gradle goal that doesn't run with build.
It is possible to bundle npm with gradle https://github.com/node-gradle/gradle-node-plugin in order to not need separate installation of npm to do this.