Skip to content

Upgrade loader-utils#14

Merged
alexander-akait merged 1 commit intomasterfrom
loader-utils-3
Dec 22, 2021
Merged

Upgrade loader-utils#14
alexander-akait merged 1 commit intomasterfrom
loader-utils-3

Conversation

@TrySound
Copy link
Member

Ref https://bundlephobia.com/package/generic-names@3.0.0

Hey! I'm on the mission to make vite smaller.

This package may benefit from the newest loader-utils version.
Also would be good to import interpolateName directly.

My local npm 7 migrated lockfile.

Tests are slightly changed. I guess due to changes in algorithm.

Ref https://bundlephobia.com/package/generic-names@3.0.0

Hey! I'm on the mission to make vite smaller.

This package may benefit from the newest loader-utils version.
Also would be good to import interpolateName directly.

My local npm 7 migrated lockfile.

Tests are slightly changed. I guess due to changes in algorithm.
@TrySound
Copy link
Member Author

cc @alexander-akait

@alexander-akait
Copy link
Member

I will do major release tomorrow

@alexander-akait alexander-akait merged commit 0642764 into master Dec 22, 2021
@alexander-akait alexander-akait deleted the loader-utils-3 branch December 22, 2021 11:20
@alexander-akait
Copy link
Member

Thanks

TrySound added a commit to TrySound/vite that referenced this pull request Dec 23, 2021
Found generic-names is a big one because consumes old loader-utils.
I upgraded it and imported interpolateName directly to bundle less
code in vite.

css-modules/generic-names#14
madyankin/postcss-modules#129

https://bundlephobia.com/package/postcss-modules@4.3.0
https://packagephobia.com/result?p=postcss-modules

```
du -sk dist/node
```
before 12268
after 11968
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