Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 48acf7e

Browse files
committed
disable jsx support
1 parent 7877d55 commit 48acf7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/transpiler.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060
options.filename = load.address;
6161
options.code = true;
6262
options.ast = false;
63+
options.blacklist = options.blacklist || [];
64+
options.blacklist.push('react');
6365

6466
var source = transpilerModule.transform(load.source, options).code;
6567

0 commit comments

Comments
 (0)