Skip to content

Conversation

@drizzlesconsin
Copy link
Contributor

esbuild#pure

Support remove console.

export default {
  esbuild: {
    target: 'es5',
    pure: ['console.log'],
  },
};

Related issues

@codecov
Copy link

codecov bot commented Mar 29, 2021

Codecov Report

Merging #575 (399659e) into master (04189a7) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #575   +/-   ##
=======================================
  Coverage   46.73%   46.73%           
=======================================
  Files          66       66           
  Lines        1577     1577           
  Branches      435      435           
=======================================
  Hits          737      737           
  Misses        839      839           
  Partials        1        1           
Impacted Files Coverage Δ
packages/plugin-esbuild/src/index.ts 100.00% <100.00%> (ø)

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 04189a7...399659e. Read the comment docs.

@ycjcl868 ycjcl868 merged commit ed7f688 into umijs:master Apr 2, 2021
@ycjcl868
Copy link
Contributor

umijs/umi#6425

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.

2 participants