babel / babel/gulp-babel

How to disable translate the chinese to unicode?

Open
#185 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.3k
Forks
113
PR merge metrics
No merged PRs in 30d

Description

my **gulpfiles.js** is
```function babelm () {
return gulp.src(jsurl)
.pipe(babel({ presets: ["@babel/env"] }))
.on("error", err)
.pipe(rename({ suffix: ".min" }))
.pipe(gulp.dest(jsurl.replace("!(*.min).js", "")))
.on("end", ok)
}
```

then...
My Chinese String has be translate to unicode...
![QQ截图20190613151151](https://user-images.githubusercontent.com/5674953/59411350-9d758100-8ded-11e9-8c2e-1e1a6deae970.jpg)

I don't want to translate it...
help me...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the gulpfiles.js snippet and the Babel configuration using the @babel/env preset. Reproduce the pipeline with the Chinese string, then determine whether the issue is in gulp-babel or Babel itself; done means the expected Chinese text is preserved in the generated output.

Written by the indexing model from the issue text.

Assessment

Tech stack
babel, javascript
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.