facebookarchive/prepack

Revisit how source maps are installed

Open

#2366 opened on Aug 2, 2018

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (14,268 stars) (520 forks)batch import
design neededenhancementhelp wanted

Description

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