-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
[pigment-css][demo] Remove app specific pnpm workspace #41393
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
[pigment-css][demo] Remove app specific pnpm workspace #41393
Conversation
26d9da2
to
97c2017
Compare
Netlify deploy previewhttps://deploy-preview-41393--material-ui.netlify.app/ Bundle size report |
74b8607
to
6a2f9d9
Compare
Can you update this PR with the new directories? |
6a2f9d9
to
ca9532e
Compare
eeee8b9
to
c694974
Compare
c694974
to
1dc9931
Compare
@siriwatknp Can you look at this again? It's now rebased with |
ab54227
to
f214bdd
Compare
and revert to using project workspace. Also fix a minor typing issue in the Vite app.
f214bdd
to
c6727de
Compare
@@ -55,10 +55,13 @@ export function withPigment(nextConfig: NextConfig, pigmentConfig?: PigmentOptio | |||
placeholderCssFile: extractionFile, | |||
}, | |||
async asyncResolve(what: string, importer: string, stack: string[]) { | |||
if (what.startsWith('__barrel_optimize__')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be combined with the next/font
below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did it knowingly since I don't know yet what kind of exports __barrel_optimize__
expects. So I am just returning next-font
for now.
In future, depending on any bug reports, it might require it's own dummy module similar to next-font.js
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, then I think it deserves a comment here.
and revert to using project workspace.
Fix a minor typing issue in the Vite app.
Fixes - #41342