Closed jhessin closed 3 years ago
Expected behavior: Running babel-watch should give the same result as running babel directly.
Actual behavior: I get an error with babel-watch that I don't get with babel.
ReferenceError: document is not defined
if I run babel directly this error doesn't occur.
The only thing I'm currently using babel for is stripping flow annotations.
Sorry, this is not something we can reproduce without much more detail. There is nothing about babel-watch that should require a DOM.
babel-watch
Gave Babel the boot. Using typescript now.
Expected behavior: Running babel-watch should give the same result as running babel directly.
Actual behavior: I get an error with babel-watch that I don't get with babel.
if I run babel directly this error doesn't occur.
The only thing I'm currently using babel for is stripping flow annotations.