facebookarchive/prepack

Revisit how source maps are installed

Open

#2,366 建立於 2018年8月2日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (14,268 star) (520 fork)batch import
design neededenhancementhelp wanted

描述

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...

貢獻者指南