Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Oficial integration with a build tool from NodeJS #129

Open
gabrielpoca opened this issue Feb 27, 2021 · 3 comments
Open

Oficial integration with a build tool from NodeJS #129

gabrielpoca opened this issue Feb 27, 2021 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@gabrielpoca
Copy link
Member

It's time to think about how we will integrate with something like Webpack, Parcel, Snowpack, or something else. I only have experience with Webpack and Parcel, but I'm open to using something else.

There are too many ways to set up this integration, but I think that a good first version would be to have Still manage HTML where we include files generated by Webpack (for instance). The idea would be to bypass our compilation chain completely and have Webpack running under one of our supervision trees. We still need a way for Webpack to inform still of which files to include. It's also important that it works with a dev server.

@gabrielpoca gabrielpoca added enhancement New feature or request help wanted Extra attention is needed labels Feb 27, 2021
@frm
Copy link
Member

frm commented Mar 1, 2021

A potential quickfix (or first version) would be to just link to an app.js file and have said tool generate that. The issue is that we would fail including it right now, since it doesn't exist. To bypass this we could maybe support URLs? So instead of linking locally, use the base URL.

@gabrielpoca
Copy link
Member Author

the issue is that you don't want app.js, you want something like app-jasldfjlskjfla.js because we need the fingerprint right?

@frm
Copy link
Member

frm commented Mar 1, 2021

Yes, absolutely. what I meant was as a first take on this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants