Skip to content

refactor: use 'public' directory as default value for 'static' #3005

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 3 commits into from
Feb 12, 2021
Merged

refactor: use 'public' directory as default value for 'static' #3005

merged 3 commits into from
Feb 12, 2021

Conversation

snitin315
Copy link
Member

@snitin315 snitin315 commented Feb 11, 2021

  • This is a bugfix
  • This is a feature
  • This is a code refactor
  • This is a test update
  • This is a docs update
  • This is a metadata update

For Bugs and Features; did you add new tests?

Motivation / Use-Case

use 'public' directory as default value for 'static'

Breaking Changes

the default directory for static was changed from static to public.

Additional Info

No

@codecov
Copy link

codecov bot commented Feb 11, 2021

Codecov Report

Merging #3005 (abe75ba) into master (89a7100) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3005   +/-   ##
=======================================
  Coverage   92.39%   92.39%           
=======================================
  Files          37       37           
  Lines        1262     1262           
  Branches      326      326           
=======================================
  Hits         1166     1166           
  Misses         91       91           
  Partials        5        5           
Impacted Files Coverage Δ
lib/utils/normalizeOptions.js 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 89a7100...c5c99d1. Read the comment docs.

@snitin315 snitin315 closed this Feb 11, 2021
@snitin315 snitin315 reopened this Feb 11, 2021
@snitin315 snitin315 changed the title refactor: use 'public' as default value for 'options.static' refactor: use 'public' directory as default value for 'static' Feb 11, 2021
@snitin315
Copy link
Member Author

Seems the cache is broken again 😢 .

@alexander-akait
Copy link
Member

@snitin315 Let's merge as is, can you send a PR and switch our testing from snapshots?

@alexander-akait alexander-akait merged commit 713c5a6 into webpack:master Feb 12, 2021
@snitin315
Copy link
Member Author

@snitin315 Let's merge as is, can you send a PR and switch our testing from snapshots?

Yes Will do 👍

@snitin315 snitin315 deleted the static-default branch February 12, 2021 10:42
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