adopted-ember-addons / adopted-ember-addons/ember-sortable

Consuming app production build might break

Abierto
#333 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug good first issue internal v2
Lenguaje dominante
TypeScript
Estrellas
299
Forks
159
Merge medio
4 d 6 h
PR fusionados (30 d)
4

Descripción

**Describe the bug**
For some apps with certain configuration, the app build might break and throw the following error message, which seems to come from the integration of the `closest` polyfill.
```
ENOENT: no such file or directory, open '/tmp/broccoli-2150353w3la8rlV2V/out-15299-broccoli_debug_debug_374_vendor_js/vendor/polyfills/closest.js'
```

**To Reproduce**
Not always reproducible, only on certain apps.

**Expected behavior**
App should build successfully.

**Screenshots**

**Additional context**
For now, we don't `import` the `closest` polyfill if the `path` can not be found to mitigate the issue. Apps affected by this would need to apply their own `closest` polyfill on their `app`.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.