How to implement webpack two entry files refer to the same content, one with presets and the other without

there are now two entry files

--src
 |--- a.js 
 |--- b.js     

a.js

class Test{
    constructor(){
        this.a = 123;
    }
    show = ()=>{
        console.log(this.a)
    }
}
export default new Test();

b.js

import "./a"

webapck.config

{
    entry:{
        a:"./src/a.js"
        b:"./src/b.js"
    }
}

I want to introduce polyfill into an entry file (a may also introduce other modules) or use es2015 to convert to es5
while b entry file remains the original output, then the output es6 code does not have polyfill.

has anyone ever tried this way

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b335e1-2be80.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b335e1-2be80.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?