Build bundled web assets instead of serving source files
- Vorherrschende Sprache
- Haskell
- Sterne
- 1.3k
- Forks
- 201
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I would like to consider serving bundled web resources (JavaScript, CSS, maybe even HTML) built from source files, instead of serving the source files directly to clients. Some of the tooling involved could be:
* https://babeljs.io/ for JavaScript backward-compatibility
* https://github.com/postcss/autoprefixer for CSS backward compatibility
* A bundler and optimizer (there are many options) to combine well-organized source into small optimized output.
I'd want to make sure that any tools involved include some way to continue debugging with the original code, whether that's through source maps, or just having a developer mode that uses the original source directly.
Beitragsleitfaden
Rechercherichtung
Das Issue nennt keine Dateien, Tests oder Einstiegspunkte und lässt Bundler und Optimizer offen. Beginne damit zu ermitteln, wie JavaScript, CSS und HTML derzeit ausgeliefert werden, und bewerte anschließend die vorgeschlagenen Babel-, Autoprefixer-, Bundling- und Optimierungs-Tools. Als abgeschlossen würde gelten, dass gebündelte Ressourcen sowie source-map- oder Developer-Mode-Debugging des ursprünglichen Quellcodes enthalten sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- babel, css, javascript
- Bereich
- build-system, frontend, web-dev
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100