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 6483d71 commit c005b51Copy full SHA for c005b51
test/esrap.test.js
@@ -88,15 +88,7 @@ for (const dir of fs.readdirSync(`${__dirname}/samples`)) {
88
};
89
}
90
91
- opts.handlers = { ...ecmascript };
92
-
93
- if (tsMode) {
94
- opts.handlers = {...opts.handlers, ...typescript};
95
- }
96
97
- if (jsxMode) {
98
- opts.handlers = {...opts.handlers, ...jsx};
99
+ opts.handlers = { ...ecmascript, ...typescript, ...jsx };
100
101
const { code, map } = print(ast, opts);
102
0 commit comments