nolanlawson/optimize-js

Add an option to read sourcemap

Open

#5 建立於 2016年9月19日

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

倉庫指標

Star
 (3,761 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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,
})

貢獻者指南