Skip to content

Commit 9357a60

Browse files
abellionhaoqunjiang
authored andcommitted
feat(babel): forward preset-env's debug option (vuejs#2607)
1 parent 7ea080b commit 9357a60

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/@vue/babel-preset-app/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ module.exports = (context, options = {}) => {
4141
const {
4242
polyfills: userPolyfills,
4343
loose = false,
44+
debug = false,
4445
useBuiltIns = 'usage',
4546
modules = false,
4647
targets: rawTargets,
@@ -103,6 +104,7 @@ module.exports = (context, options = {}) => {
103104
const envOptions = {
104105
spec,
105106
loose,
107+
debug,
106108
modules,
107109
targets,
108110
useBuiltIns,

0 commit comments

Comments
 (0)