Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- webpack: (config, { dev }) => {
- var oldEntry = config.entry;
- config.entry = function () {
- return oldEntry().then(function (entries) {
- entries['main.js'].unshift('@babel/polyfill');
- return entries;
- });
- }
- return config;}
Add Comment
Please, Sign In to add comment