rsbuild-plugin-check-syntax icon indicating copy to clipboard operation
rsbuild-plugin-check-syntax copied to clipboard

When minify: false is configured, the message Find some syntax that does not match "ecmaVersion <= 5": #15 is displayed

Open fengyangbj-kanyun opened this issue 1 year ago • 1 comments

当我构建时配置 output: { minify: false, } 同一个项目,构建时就会提示Find some syntax that does not match "ecmaVersion <= 5",可以是如果不配置minify, 构建就是成功的,没有发现 ES6 语法,为什么呢?压缩为什么对这个插件的结果有影响呢?

fengyangbj-kanyun avatar Nov 27 '24 07:11 fengyangbj-kanyun

Hi, can you provide an reproduction repo?

chenjiahan avatar Jan 22 '25 08:01 chenjiahan