Answer the question
In order to leave comments, you need to log in
Cyrillic in es6 babel template strings?
Good day.
I want to use babel along with gulp for es6 -> es5. But here's the problem. After compilation in es5, the Cyrillic alphabet is encoded in the template strings, and form a series of incomprehensible code. \u0422\u0435\u0441\u0442\u043E\u0432\u043E
At first I thought the problem was in the gulp plugin. But after trying the babel online service, I was convinced that the same thing is there.
babeljs.io/repl/#?babili=false&browsers=&build=&bu...
Actually the question is: how to leave Cyrillic after compiling js from es6 to es5?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question