You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constfs=require('fs');constfilename='./my-core-js-bundle.js';require('core-js-builder')({modules: ['es'],// modules / namespaces, by default - all `core-js` modulesblacklist: [],// blacklist of modules / namespaces, by default - empty listtargets: 'chrome 80',// optional browserslist query
filename,// optional target filename, if it's missed a file will not be created}).then(code=>{// code of result polyfillconsole.log(code);fs.writeFileSync(filename,code);}).catch(error=>{// WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.console.error(error);});
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: