Skip to content
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

[core] A couple of simply fixes from #34870 #34953

Merged

Conversation

oliviertassinari
Copy link
Member

Extracted from #34870 as they are improvements on their own.

@oliviertassinari oliviertassinari added the core Infrastructure work going on behind the scenes label Oct 30, 2022
@@ -155,14 +155,14 @@ module.exports = async function demoLoader() {
this.addDependency(moduleFilepath);
demos[demoName] = {
module: moduleID,
raw: await fs.readFile(moduleFilepath, { encoding: 'utf-8' }),
raw: await fs.readFile(moduleFilepath, { encoding: 'utf8' }),
Copy link
Member Author

Choose a reason for hiding this comment

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

Comment on lines -225 to -230

export const docs = ${JSON.stringify(docs, null, 2)};
export const demos = ${JSON.stringify(demos, null, 2)};
export const demoComponents = {${Array.from(demoModuleIDs)
.map((moduleID) => {
return `${JSON.stringify(moduleID)}: ${moduleIDToJSIdentifier(moduleID)},`;
Copy link
Member Author

Choose a reason for hiding this comment

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

The extra lines make a console.log of the output messy.

@mui-bot
Copy link

mui-bot commented Oct 30, 2022

Messages
📖 Netlify deploy preview: https://deploy-preview-34953--material-ui.netlify.app/

No bundle size changes

Generated by 🚫 dangerJS against bf1b6a1

@oliviertassinari oliviertassinari merged commit 626a255 into mui:master Oct 30, 2022
@oliviertassinari oliviertassinari deleted the extract-simple-fixes-from-34870 branch October 30, 2022 17:17
daniel-rabe pushed a commit to daniel-rabe/material-ui that referenced this pull request Nov 29, 2022
feliperli pushed a commit to jesrodri/material-ui that referenced this pull request Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants