Skip to content

Conversation

@Map1en
Copy link
Contributor

@Map1en Map1en commented Apr 16, 2021

resolve #6422

Checklist
  • npm test passes
  • tests are included
  • documentation is changed or added
  • commit message follows commit guidelines
Description of change

esbuild-loader没有pure字段的配置。
https://github.com/privatenumber/esbuild-loader


View rendered docs/plugins/plugin-esbuild.md
View rendered docs/plugins/plugin-esbuild.zh-CN.md

@codecov
Copy link

codecov bot commented Apr 16, 2021

Codecov Report

Merging #6425 (35a7407) into master (48c2a15) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #6425   +/-   ##
=======================================
  Coverage   84.73%   84.73%           
=======================================
  Files         157      157           
  Lines        3564     3564           
  Branches      974      974           
=======================================
  Hits         3020     3020           
  Misses        534      534           
  Partials       10       10           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 48c2a15...35a7407. Read the comment docs.

@ycjcl868
Copy link
Contributor

这个配置是 esbuild 下的 https://esbuild.github.io/api/#pure

@Map1en
Copy link
Contributor Author

Map1en commented Apr 19, 2021

这个配置是 esbuild 下的 https://esbuild.github.io/api/#pure

是这样的,但plugin-esbuild用的eslint-loader里用不了这个配置,不是直接转成esbuild的配置,所以会报错。

@Map1en Map1en deleted the doc-rm-esbuild-pure branch April 20, 2021 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] @umijs/plugin-esbuild: 使用报错: Validate config "esbuild" failed, "pure" is not allowed

3 participants