title: Nuxt & Firebase - IE 11 (Object doesn't support property or method 'values')
body: <p>I'm having trouble getting Nuxt and babel when trying to polyfill firebase for IE11. I'm not sure what I am missing. </p>
  
  <p><code>useBuiltIns: "usage"</code> IE11 returns an error of <code>Object doesn't support property or method 'values'</code></p>
  
  <p>When <code>useBuiltIns: "entry"</code> IE11 returns an error of <code>Object doesn't support property or method 'assign'</code></p>
  
  <p>nuxt.config.js</p>
  
  <pre><code>babel: {
      presets({ envName }) {
        const envTargets = {
          client: {
            browsers: ["last 2 versions"],
            ie: 11
          },
          server: {
            node: "current"
          },
        }
        return [
          [
            "@nuxt/babel-preset-app",
            {
              useBuiltIns: "usage",
              polyfills: ['es6.array.iterator', 'es6.promise', 'es6.object.assign', 'es7.object.values', 'es7.promise.finally'],
              targets: envTargets[envName]
            }
          ]
        ]
      },
  
  </code></pre>
  
  <p>package.json</p>
  
  <pre><code>  "dependencies": {
      "@babel/plugin-transform-runtime": "^7.10.1",
      "@babel/polyfill": "^7.10.1",
      "@babel/runtime-corejs2": "^7.10.2",
      "@vue/babel-preset-app": "^4.4.1",
      "bootstrap": "^4.5.0",
      "bootstrap-vue": "^2.15.0",
      "core-js": "2.6.11",
      "firebase": "^7.15.0",
      "node-sass": "^4.14.1",
      "nuxt": "^2.12.2",
      "sass-loader": "^8.0.2",
      "vue-select": "^3.10.3"
    },
  </code></pre>