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 10d13cc commit a4a08c9Copy full SHA for a4a08c9
src/index.js
@@ -517,6 +517,8 @@ export default function (babel) {
517
const { filename } = file.opts;
518
// HACK: for lightscript-eslint, and possibly others
519
if (filename === "unknown") return true;
520
+ // for babel-node repl
521
+ if (filename === "repl") return true;
522
523
// TODO: consider "peeking" at the first line for a shebang or 'use lightscript' directive.
524
return (
0 commit comments