core-js Questions
8
I'm getting below error while creating a new Angular application -
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number...
Villeinage asked 20/12, 2019 at 6:43
1
Solved
I came across an issue and found out its because Babel does not polyfill .at as default
According to spec , Array.prototype.at is merely stage 4, and I already set browserslist to > 0.2%, which ...
Berezina asked 1/8, 2022 at 13:37
2
I use babel 7.8.3 together with @babel/preset-env, useBuiltIns: 'usage' and corejs: 3. The documentation for @babel/preset-env is not clear to me.
Do I need to add the following lines at the top ...
Choragus asked 20/1, 2020 at 11:54
1
I'm trying to revive the build for an old, unmaintained library so that we can check in some changes (or publish a fork) that lets it play nicely with another updated library (namely Bootstrap 4, b...
1
I'm reducing my js bundle size and stumbled upon core-js. It takes around 62kB which represents ~24% of the whole package.
I tried using @babel/preset-env, but wasn't able to shrink the size any f...
Christiansand asked 1/2, 2021 at 21:45
0
I am currently trying to debug my packed Webpack bundle. To improve compatibility, I use the babel plugin and corejs to make using async/await functions possible. I am also using the 'eval-source-m...
Pena asked 10/10, 2021 at 14:23
4
When running my tests with jest, I had the above error;
Error: Uncaught [TypeError: array.map(...).flat is not a function]
Following the solution from that issue, https://github.com/kulshekhar/t...
Dawes asked 20/7, 2019 at 2:6
12
Solved
After updating to Angular 7.3.6, I get the following error on ng serve:
ERROR in
./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js
Module not found: ...
Windblown asked 28/3, 2019 at 13:32
1
Following on from this question I have set up my Webpack 4 config to handle babel-loader like this
{
module : {
rules : [{
test : /\.js$/,
// Some module should not be transpiled by Babel
// ...
Callery asked 3/5, 2020 at 17:27
2
With my current config (see below), I'm getting this error:
[object Error]{description: "Argument ob...", message: "Argument ob...", name: "TypeError", number: -2147418113, stack: "TypeError: ......
Quoits asked 5/4, 2020 at 15:21
2
Solved
I am working on a react app bootstrapped using create-react-app and it works perfectly in Chrome but I cannot get it to work in IE11.
Upon launching the app, I am getting the following error from ...
Caramelize asked 5/2, 2020 at 15:34
1
Solved
Using babel 7.5.5, core-js 3.1.4 and webpack 4.38.0, how can I exclude core-js from transpiling?
I do not want to exclude node_modules altogether since I have libs that need transpiling
If I use ...
Remorseless asked 5/8, 2019 at 15:11
1
Solved
Polyfill services like polyfill.io seem to be delivering only small feature detects to the browser and then lazy-load only the polyfills that are actually needed.
As I understand the babel documen...
Hardness asked 6/10, 2019 at 20:43
1
© 2022 - 2024 — McMap. All rights reserved.