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

modern mode close #240 #310

Merged
merged 1 commit into from Apr 17, 2020
Merged

modern mode close #240 #310

merged 1 commit into from Apr 17, 2020

Conversation

sapphi-red
Copy link
Member

refs #228 #238 #239 #309


deec92d

module.exports = api => {
api.cache.using(() => process.env.VUE_CLI_MODERN_BUILD)
api.cache.using(() => process.env.NODE_ENV)
const isModern = process.env.VUE_CLI_MODERN_BUILD === 'true'
if (isModern) {
delete process.env.VUE_CLI_MODERN_BUILD
}
const config = vueCliPreset(api)
if (isModern) {
process.env.VUE_CLI_MODERN_BUILD = 'true'
}
return { ...options, ...config }
}

による babel/babel#11035 への対応

@sapphi-red sapphi-red merged commit 8ccd41f into master Apr 17, 2020
@sapphi-red sapphi-red deleted the feat/modern-build branch April 17, 2020 10:23
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.

None yet

1 participant