title: How to set useBuiltIns option
body: <p>I am using Webpack and want to set Babel "useBuiltIns" option to enable pollyfills for "promises" in my JS files.</p>
  
  <p>I couldn't find a complete working example and all my tries are ending up with an error.</p>
  
  <p>This is my package.json try:</p>
  
  <pre><code>{
    "name": "test",
    "version": "1.0.0",
    "description": "",
    "main": "index.js",
    "dependencies": {
      "@babel/polyfill": "^7.10.1",
      "bootstrap": "^4.5.0",
      "flatpickr": "^4.6.3",
      "jquery": "^3.5.1",
      "js-cookie": "^2.2.1",
      "lazysizes": "^4.1.7",
      "leaflet": "^1.6.0",
      "lg-thumbnail": "^1.2.0",
      "lightgallery": "^1.7.0",
      "owl.carousel": "^2.3.4",
      "popper.js": "^1.16.1",
      "slick-carousel": "^1.8.1",
      "yuglify": "^0.1.4"
    },
    "devDependencies": {
      "@babel/core": "^7.10.2",
      "@babel/preset-env": "^7.10.2",
      "babel": "^6.23.0",
      "babel-loader": "^8.1.0",
      "clean-webpack-plugin": "^3.0.0",
      "css-loader": "^3.5.3",
      "file-loader": "^6.0.0",
      "react": "^16.13.1",
      "sass": "^1.26.8",
      "sass-loader": "^8.0.2",
      "style-loader": "^1.2.1",
      "webpack": "^4.43.0",
      "webpack-bundle-tracker": "0.4.3",
      "webpack-cli": "^3.3.11",
      "webpack-merge": "^4.2.2"
    },
    "scripts": {
      "test": "echo \"Error: no test specified\" &amp;&amp; exit 1",
      "start": "webpack --config webpack.dev.js --watch",
      "build": "webpack --config webpack.prod.js"
    },
    "author": "",
    "license": "ISC",
    "babel": {
      "useBuiltIns": "entry" &lt;------ this is not working
    }
  }
  </code></pre>
  
  <p>According to the docs there is an option. "useBuiltins" available (<a href="https://babeljs.io/docs/en/babel-polyfill#usage-in-node-browserify-webpack" rel="nofollow noreferrer">https://babeljs.io/docs/en/babel-polyfill#usage-in-node-browserify-webpack</a>)</p>
  
  <p>According to the docs I can place Babel options into my package.json under "babel" (<a href="https://babeljs.io/docs/en/6.26.3/babelrc" rel="nofollow noreferrer">https://babeljs.io/docs/en/6.26.3/babelrc</a>)</p>