From 45b195699b74f1bcd26f115ad0d759f9c3f353c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Krupi=C5=84ski?= Date: Tue, 17 Jul 2018 19:24:32 +0200 Subject: [PATCH] Fix single-line comments (#8) --- src/minipack.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/minipack.js b/src/minipack.js index 90ba1e1..ceecb73 100644 --- a/src/minipack.js +++ b/src/minipack.js @@ -191,7 +191,9 @@ function bundle(graph) { // be able to know which module in the graph corresponds to that relative // path for this module. modules += `${mod.id}: [ - function (require, module, exports) { ${mod.code} }, + function (require, module, exports) { + ${mod.code} + }, ${JSON.stringify(mod.mapping)}, ],`; });