Преглед изворни кода

build: fix source map generation

Renée Kooi пре 4 година
родитељ
комит
d8b1eadf49
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      bin/build-lib.js

+ 1 - 1
bin/build-lib.js

@@ -47,7 +47,7 @@ async function buildLib () {
       }
     }
 
-    const { code, map } = await transformFile(file, {})
+    const { code, map } = await transformFile(file, { sourceMaps: true })
     await mkdirp(path.dirname(libFile))
     await Promise.all([
       writeFile(libFile, code),