Answer the question
In order to leave comments, you need to log in
Why is the encoding crooked when compiling .js files?
Hello!
There are a couple of packages that need to be built on Jenkins.
In package.json to compile this script: "rm -rf lib && mkdir lib && cp -a src/* lib/ && babel --optional runtime -d lib/ src/".
.babelrc:
{
"presets": ["react", "es2015", "stage-0"]
}
So, in lib, Russian words are transformed into "\u0412\u435..." and so on. ...
Any ideas?
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