-
-
Notifications
You must be signed in to change notification settings - Fork 9.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
Build: Fix sandbox generation scripts #22620
Conversation
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.
Please do the same for other sandbox scripts that have a similar logic 🙏
@@ -360,7 +360,7 @@ const baseTemplates = { | |||
'vue-cli/vue2-default-js': { | |||
name: 'Vue-CLI (Vue2 JS)', | |||
script: | |||
'npx -p @vue/cli vue create . --default --packageManager=yarn --force --merge --preset="Default (Vue 2)" && echo "module.exports = {}" > webpack.config.js', | |||
'npx -p @vue/cli vue create . --default --packageManager=yarn --force --merge --preset="Default (Vue 2)" && cd {{beforeDir}} && echo "module.exports = {}" > webpack.config.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.
All these vite commands were not using {{beforeDir}} but rather .
so it worked without this change. I think it's better to use {{beforeDir}} so can you change the .
to {{beforeDir}} and test it if all works well?
…tion-script Build: Fix sandbox generation scripts
Looks like we have the sandbox generation github action failing.