Don't assume DEBUG is defined when exporting --self
Potential fix for #1148
This commit is contained in:
parent
55c592dd43
commit
aa82027a17
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user