developit / developit/optimize-plugin

Babel configs are ignored

Abierto
#27 8 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
651
Forks
13
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

In the ReadMe, there's the following line:

> In order to migrate to optimize-plugin, you'll need to move your babel configuration into a `.babelrc` or `babel.config.js` file ...optimize-plugin only uses your babel configuration when generating _modern_ bundles.

However, both `configFile` and `babelrc` are set to `false`:

https://github.com/developit/optimize-plugin/blob/aefb895750e217be250230f9c0cb78afc00aa4fe/src/worker.js#L59-L61

This should stop any config files from being loaded, AFAIK. Am I misunderstanding something, or are the docs outdated perhaps?

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.