Skip to content

fix(cli-service): skip minimization of public dir #6700

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 22, 2021

Conversation

zj9495
Copy link
Contributor

@zj9495 zj9495 commented Sep 17, 2021

use info option to skip minimization of public dir
fix #6699

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Underlying tools
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Other information:

Copy link
Collaborator

@fangbinwei fangbinwei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The files copied from public should not be modified, I approve this change.

Any static assets placed in the public folder will simply be copied and not go through webpack.
https://cli.vuejs.org/guide/html-and-static-assets.html#the-public-folder

@fangbinwei fangbinwei merged commit 7527271 into vuejs:dev Sep 22, 2021
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.

The js file in the public folder is incorrectly converted
2 participants