nolanlawson/optimize-js

Add an option to read sourcemap

Open

#5 建立於 2016年9月19日

在 GitHub 查看
 (9 留言) (15 反應) (0 負責人)JavaScript (3,761 star) (128 fork)batch import
enhancementhelp wanted

描述

Adding an option to access the source map would ease the integration with build tools. e.g.:

const {code, map} = optimizeJs(input, {
  sourceMap: true,
  extractSourceMap: true,
})

貢獻者指南