fix(babel-preset-app): TypeError when import cjs in webpack building (#7070)

This commit is contained in:
Xin Du (Clark) 2020-03-10 21:09:46 +00:00 committed by GitHub
parent 074de48dcf
commit 750676dd31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,6 +145,7 @@ module.exports = (api, options = {}) => {
}]) }])
return { return {
sourceType: 'unambiguous',
presets, presets,
plugins plugins
} }