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

Build JavaScripts somewhere in this project #149

Open
skalee opened this issue Nov 21, 2020 · 0 comments
Open

Build JavaScripts somewhere in this project #149

skalee opened this issue Nov 21, 2020 · 0 comments
Labels
javascript Pull requests that update Javascript code maintainability

Comments

@skalee
Copy link
Contributor

skalee commented Nov 21, 2020

Right now every site has its very own package.json. That isn't good, because we can't specify common requirements in one central place. For example, I'd really like to add dependency on Babel's plugin for transpiling Unicode regexps, which is important for us (#135), even though it's now bundled with Babel as one of its default plugins.

Hence, I'm considering building all the required JavaScripts here in this very project. This will make overriding whole scripts more difficult, but perhaps it's not a big deal. Anyway, for maintainability sake, we prefer to configure common scripts rather than override them. Alternatively, maybe this project should produce NPM packages in addition to gems.

I don't know which way to go yet. I'm leaving this ticket open not to forget about this thing, and to open it for discussion.

@skalee skalee added maintainability javascript Pull requests that update Javascript code labels Nov 21, 2020
@ronaldtse ronaldtse moved this to 🆕 New in Geolexica Jul 24, 2022
@ronaldtse ronaldtse moved this from 🆕 New to 📋 Backlog in Geolexica Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript Pull requests that update Javascript code maintainability
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant