Adds a Java example application that uses GraalJS and a JavaScript library (node-qrcode) to generate a QR code from a string and then prints it to the console.
Uses the maven-frontend-plugin to bundle the npm package (with polyfills) using webpack, and include it in the JAR, as part of the Maven build.
Adds a Java example application that uses GraalJS and a JavaScript library (node-qrcode) to generate a QR code from a string and then prints it to the console.
Uses the maven-frontend-plugin to bundle the npm package (with polyfills) using webpack, and include it in the JAR, as part of the Maven build.
See README.md for details.
Run using
mvn package exec:java
.