Skip to content
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

Ready to use frontend script #22

Open
Loceka opened this issue Feb 28, 2019 · 1 comment
Open

Ready to use frontend script #22

Loceka opened this issue Feb 28, 2019 · 1 comment

Comments

@Loceka
Copy link

Loceka commented Feb 28, 2019

In the original project, there was a "ready to use" frontend script, in the form of a minified js file :

For the frontend, drop dist/jexl.min.js into your project and include it on your page with:
<script src="path/to/jexl.min.js"></script>

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?

@glasserc
Copy link

glasserc commented Sep 9, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants