diff --git a/babel.config.js b/babel.config.js index 880dce4..04802b3 100644 --- a/babel.config.js +++ b/babel.config.js @@ -2,4 +2,7 @@ const devPresets = ['@vue/babel-preset-app']; const buildPresets = ['@babel/preset-env']; module.exports = { presets: (process.env.NODE_ENV === 'development' ? devPresets : buildPresets), + plugins: [ + "@babel/plugin-proposal-nullish-coalescing-operator" + ], };