Does meteor consider babel packages in babelrc for production builds?

My production build doesn’t seem to use transform-remove-console

{
  "plugins": [
    ["transform-class-properties" ],
    ["import", {"libraryName": "antd"}]
  ],
  "env": {
    "test": {
      "presets": ["react", "es2015", "stage-1"]
     },
     "production": {
      "plugins": ["transform-remove-console"]
    }
   }
 }

I’m having the same issue. Did you ever figure out how to get this working?

man… i can’t even remember what I ate for breakfast two days ago.

Wish I could help.

1 Like

LOL. Thanks anyway for responding.