Don't assume DEBUG is defined when exporting --self
Potential fix for #1148
This commit is contained in:
@@ -18,6 +18,6 @@ exports["tokenizer"] = tokenizer;
|
|||||||
exports["is_identifier"] = is_identifier;
|
exports["is_identifier"] = is_identifier;
|
||||||
exports["SymbolDef"] = SymbolDef;
|
exports["SymbolDef"] = SymbolDef;
|
||||||
|
|
||||||
if (DEBUG) {
|
if (typeof DEBUG !== "undefined" && DEBUG) {
|
||||||
exports["EXPECT_DIRECTIVE"] = EXPECT_DIRECTIVE;
|
exports["EXPECT_DIRECTIVE"] = EXPECT_DIRECTIVE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user