-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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] Fix l10n
script execution with arguments
#13297
Conversation
"typescript:transpile:dev": "cross-env BABEL_ENV=development babel-node --extensions \".tsx,.ts,.js\" scripts/formattedTSDemos --watch", | ||
"populate:demos": "cross-env BABEL_ENV=development babel-node --extensions \".tsx,.ts,.js\" scripts/populatePickersDemos" | ||
"typescript:transpile:dev": "cross-env BABEL_ENV=development node scripts/formattedTSDemos --watch", | ||
"populate:demos": "tsx scripts/populatePickersDemos" |
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.
node
didn't work here, even though the file is js
, but it loads other js file with an export
usage.
Deploy preview: https://deploy-preview-13297--material-ui-x.netlify.app/ |
@@ -15,8 +15,8 @@ | |||
"create-playground": "cpy --cwd=scripts playground.template.tsx ../../pages/playground --rename=index.tsx", | |||
"typescript": "tsc -p tsconfig.json", | |||
"typescript:transpile": "cross-env BABEL_ENV=development node scripts/formattedTSDemos", | |||
"typescript:transpile:dev": "cross-env BABEL_ENV=development babel-node --extensions \".tsx,.ts,.js\" scripts/formattedTSDemos --watch", | |||
"populate:demos": "cross-env BABEL_ENV=development babel-node --extensions \".tsx,.ts,.js\" scripts/populatePickersDemos" | |||
"typescript:transpile:dev": "cross-env BABEL_ENV=development node scripts/formattedTSDemos --watch", |
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.
Do we need BABEL_ENV=development
if not using babel anymore? 🤔
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.
Left it here, because the file internally uses @babel/core
🤔
Fix https://github.com/mui/mui-x/actions/runs/9287240393
Follow up on #13251 (comment)
Replace a few other easy instances of
babel-node
usages withnode
ortsx
.