Skip to content

Commit 750676d

Browse files
authored
fix(babel-preset-app): TypeError when import cjs in webpack building (nuxt#7070)
1 parent 074de48 commit 750676d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/babel-preset-app/src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ module.exports = (api, options = {}) => {
145145
}])
146146

147147
return {
148+
sourceType: 'unambiguous',
148149
presets,
149150
plugins
150151
}

0 commit comments

Comments
 (0)