P
P
PlasterTom2018-07-14 15:49:36
JavaScript
PlasterTom, 2018-07-14 15:49:36

Why doesn't babel-preset-env work?

From the documentation:
"Without any configuration options, babel-preset-env behaves exactly the same as babel-preset-latest (or babel-preset-es2015, babel-preset-es2016, and babel-preset-es2017 together
" gives an error: 5b49f06c3dcd9184800006.jpeg
Code by reference
The only thing that I have added is the same Table component

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
PlasterTom, 2018-07-14
@PlasterTom

Basically it worked with updating and adding
{
"plugins": ["@babel/plugin-proposal-class-properties"]
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question