We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5826b7e commit e5a06e4Copy full SHA for e5a06e4
compile.js
@@ -17,6 +17,7 @@
17
"use strict";
18
var tmpl = require("./tmpl.js").tmpl,
19
fs = require("fs"),
20
+ path = require("path"),
21
jsp = require("uglify-js").parser,
22
pro = require("uglify-js").uglify,
23
// Retrieve the content of the minimal runtime:
@@ -63,6 +64,7 @@
63
64
}
65
if (listLength === list.length) {
66
// No template script tags found, use the complete content:
67
+ id = path.basename(file, path.extname(file));
68
list.push("'" + id + "':" + tmpl.print(content));
69
70
0 commit comments