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

贡献者指南