facebookarchive/prepack

Revisit how source maps are installed

Open

#2.366 geöffnet am 2. Aug. 2018

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (14.268 Stars) (520 Forks)batch import
design neededenhancementhelp wanted

Beschreibung

Since #2362, we allow for multiple source maps to be given. However, we also require that the basenames of source file and source map file match.

So, instead or in addition to supplying a list of file names, we could allow suppling one or many directories in which we'll look for matching source map files.

Or alternatively, the arguments given to Prepack could explicitly map individual source files to then arbitrarily names source map files.

Discuss...

Contributor Guide