Open Loceka opened 5 years ago
Hi, I don't think there's much interest here at the moment. Mozjexl is mostly consumed in Firefox, and we don't even have a clear workflow for building for that. I can tell you that Mozjexl used to be built as part of the Normandy client and the code for doing that can be found at https://github.com/mozilla/normandy/blob/43f0ce22ec1cb73a061f95236aa9b79ff7fb8410/recipe-client-addon/webpack.config.js. I think I would be interested in a PR that built the Mozjexl library as a single artifact, but like you say, I'm not on top of the trendy tools so I'm not sure I'll be a lot of help.
In the original project, there was a "ready to use" frontend script, in the form of a minified js file :
I would be a really appreciated gesture, since not everyone uses node.js (or even likes it) and since it is pretty heavy to install/configure, even more since the "trendy tools" change every month or so...
Would it be possible for you to generate a "standalone" javascript file (minified or not) to be used in a frontend only context?