Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Latest commit

 

History

History
18 lines (16 loc) · 481 Bytes

Readme.md

File metadata and controls

18 lines (16 loc) · 481 Bytes

Webpack & Babel useBuiltIns

This is a test trying to proof that useBuiltins does not work together with excluding core-js in babel-loader.

To reproduce, change the babel-loader rule in webpack.config.js to this:

{
    test: /\.js$/,
    exclude: /node_modules\/(core-js)/,
    //include: [
    //    path.resolve(__dirname, 'node_modules/swiper'),
    //    path.resolve(__dirname, 'node_modules/dom3'),
    //],
    use: {
        loader: 'babel-loader'
    },
},