Bundling should allow to mark input bundles as "do not resolve"
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- javascript
- Área
- build-system
Línea de trabajo
Start with the bundle definition handling and the module-existence logic in lib/lbt/bundle/Resolver.js, especially lines 63-78. Reproduce the issue by bundling sap/viz/ and inspect the resolver output. Done means an input bundle can be explicitly marked not to dissolve, the build remains functional, and the spurious missing-module errors no longer appear.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Expected Behavior
Bundling should allow to specify an input source file as "bundle that must not be dissolved into pieces" and rather embed the input source as a whole.
Current Behavior
When a bundle is created that includes e.g. one of the sap-viz-* bundles, the builder logs many errors like
ERR! lbt:bundle:Resolver **** error: missing module sap/viz/framework/common/util/NameColorUtils.js, required by sap/viz/libs/sap-viz-info-charts.js
The resulting bundle works, but the log messages are annoying. And the current logic that checks for any module to exist might lead to unexpected behavior. It might be better to mark the input bundle explicitly as "do not dissolve".
Steps to reproduce the issue
- Create a bundle definition that includes
sap/viz/ - Build the bundle
- Watch the console output
Affected components (if known)
- Lenguaje dominante
- JavaScript
- Estrellas
- 511
- Forks
- 83
- Merge medio
- 1 d 5 h
- PR fusionados (30 d)
- 61
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de UI5/cli
-
Build cache: buildThemes cache is invalidated by irrelevant library.js / .library content changesAbiertomodule/ui5-builder module/ui5-fs module/ui5-project
Dificultad 3/5 1-2 días Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
module/ui5-project
Dificultad 4/5 3-5 días Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
[ROADMAP] UI5 CLI 6.0 / Specification Version 6.0Quizá libre de nuevo @flovogt la tomó hace 62 días y no hay ningún pull request abierto. Abiertoroadmap
UI5/cli#1485 · 1 reacción · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
build excludes from application project are not applied to dependenciesQuizá libre de nuevo @flovogt la tomó hace 36 días y no hay ningún pull request abierto. Abierto
UI5/cli#1446 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Option to specify custom UI5 config for workspace dependency resolutionQuizá libre de nuevo @flovogt la tomó hace 162 días y no hay ningún pull request abierto. Abierto
UI5/cli#1369 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
naver/egjs-flicking#971 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día