Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat/css url dependency#18728

Closed
faga295 wants to merge 13 commits intowebpack:mainfrom
faga295:feat/css_URL_Dependency
Closed

feat/css url dependency#18728
faga295 wants to merge 13 commits intowebpack:mainfrom
faga295:feat/css_URL_Dependency

Conversation

@faga295
Copy link
Contributor

@faga295 faga295 commented Sep 1, 2024

What kind of change does this PR introduce?

Did you add tests for your changes?

Does this PR introduce a breaking change?

What needs to be documented once your changes are merged?

@webpack-bot
Copy link
Contributor

For maintainers only:

  • This needs to be documented (issue in webpack/webpack.js.org will be filed when merged)
  • This needs to be backported to webpack 4 (issue will be created when merged)

const modulesExcludeFromURL = [];
/** @type {Map<string, {modules: CssModule[], entry?: CssModule}>} */
const URLRequestModulesMap = new Map();
for (const module of modules) {
Copy link
Member

Choose a reason for hiding this comment

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

We should avoid it here

Copy link
Contributor Author

@faga295 faga295 Sep 3, 2024

Choose a reason for hiding this comment

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

I want collect all modules from a new URL if we want to support @import for new URL

Copy link
Member

Choose a reason for hiding this comment

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

I think we need to search another approach... I will try to find time on this, you can keep it as is right now

Copy link
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

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

Also need to fix tests

chore: lint update

chore: update

chore: asset filename snapshot
@faga295 faga295 force-pushed the feat/css_URL_Dependency branch from 4d37d9e to 1dd52da Compare September 8, 2024 15:06
@faga295 faga295 marked this pull request as ready for review September 13, 2024 16:13
@alexander-akait
Copy link
Member

Close in favor #20131, anyway thank you for your work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants