Hi there!
Just wanted to point out that inject-loader doesn't work properly with Babel 7.
Running my tests suite I get this error whenever inject-loader is imported in my tests:
Module parse failed: 'import' and 'export' may only appear at the top level (975:4)
You may need an appropriate loader to handle this file type.
Maybe is due to the hardcoded usage of the deprecated babel-core module inside inject-loader? 🤔
Hi there!
Just wanted to point out that
inject-loaderdoesn't work properly with Babel 7.Running my tests suite I get this error whenever
inject-loaderis imported in my tests:Maybe is due to the hardcoded usage of the deprecated
babel-coremodule insideinject-loader? 🤔