vihanb/babel-plugin-wildcard

Adding it to plugins breaks my entire app.

AlexMcConnell opened this issue · 0 comments

I have a very barebones app for doing a simple code example, and adding this makes all of my imports return undefined;

package.json:

"dependencies": {
    "@babel/preset-env": "^7.9.6",
    "babel-plugin-wildcard": "^6.0.0",
    "jest": "^26.0.1"
  }

.babelrc:

{
  "presets": [
    [
      "@babel/preset-env",
      {
        "targets": {
          "esmodules": true
        }
      }
    ]
  ],
  "plugins": [
    "wildcard"
  ]
}