steps:
@webKity
Array.prototype.find is not possibly to statically transpile. You need polyfill. https://babeljs.io/docs/usage/polyfill/
You may do sth like below:
js
module.exports = {
build: {
vendor: ['babel-polyfill']
}
}
I tried it and it works锛宼hink you very much
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
@webKity
Array.prototype.find is not possibly to statically transpile. You need polyfill. https://babeljs.io/docs/usage/polyfill/
You may do sth like below:
js module.exports = { build: { vendor: ['babel-polyfill'] } }