Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: include matchResource in entry request#720

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
jquense wants to merge1 commit intowebpack-contrib:master
base:master
Choose a base branch
Loading
fromjquense:inline-loader

Conversation

jquense
Copy link

Sorry@alexander-akait, I'm always creating a bunch of work for you for super niche features. I think this should be clear but happy to explain it more if you want.

This PR contains a:

  • bugfix
  • newfeature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

Breaking Changes

Additional Info

@codecov
Copy link

codecovbot commentedMar 16, 2021
edited
Loading

Codecov Report

Merging#720 (b92fbe2) intomaster (6ae4c3e) willdecrease coverage by19.24%.
The diff coverage is100.00%.

Impacted file tree graph

@@             Coverage Diff             @@##           master     #720       +/-   ##===========================================- Coverage   89.67%   70.43%   -19.25%===========================================  Files           6        6                 Lines         775      778        +3       Branches      239      240        +1     ===========================================- Hits          695      548      -147- Misses         77      212      +135- Partials        3       18       +15
Impacted FilesCoverage Δ
src/loader.js82.31% <100.00%> (-10.05%)⬇️
src/utils.js53.84% <0.00%> (-34.62%)⬇️
src/index.js61.11% <0.00%> (-26.93%)⬇️

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last update6ae4c3e...b92fbe2. Read thecomment docs.

@jquense
Copy link
Author

arg, why is trying to upgrade a single dependency breaking everything!

@jquense
Copy link
Author

codecov you don't make any sense.

@alexander-akait
Copy link
Member

hm, I don't think it is good idea to do in pitch phase, we can faced with infinity loop...

@jquense
Copy link
Author

jquense commentedMar 16, 2021
edited
Loading

you'd certainly know better than me. Itseemed ok to me since the original request included it. What's happening is that the original module (withmatchResource) is sort of being ignored, since mini-extract and style-loader force a new module to be created, this time without the matchResource (since it's not in the request anymore)

I had also thought that the!!./loaders might prevent a loop since there is no resource matching for loaders?

@alexander-akait
Copy link
Member

I don't think we should touchmatchResource in pitch mode here, I think you need do on own side usingpitch, so I want to look how you do it right now

@jquense
Copy link
Author

the simplest case is the base4-loader. which doesn't work with style-loader or mini-extract.

The way more complicate case is here, still a WIP.

https://github.com/4Catalyzer/astroturf/blob/f723dc2d23ece81417f34daf1d6562dba6f1fc15/src/inline-loader.ts

FYI this does seem to work if i manually setmatchResource on the module, but that seems like a bad idea?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@jquense@alexander-akait

[8]ページ先頭

©2009-2025 Movatter.jp