Gatsby - Set throwIfNamespace to false

Hi there,

Does anyone know where I should set throwIfNamespace to false?

Do I put it in a config file or something?

According to a google search , I believe I should use something like this:

{
  "presets": [
    [
      "@babel/preset-react",
      {
        "throwIfNamespace": false // defaults to true
      }
    ]
  ]
}

Any idea where I should put that?

Thank you,
Evan Jerkunica

Try to install babel-preset-gatsby
here is more info:

I hope this helps :wink: