From dd9f0f9bbf92ff72f8e2e6b01c8f5db86c6f1eca Mon Sep 17 00:00:00 2001 From: Kalin Krustev Date: Wed, 23 Jun 2021 09:25:56 +0300 Subject: [PATCH] fix: https://github.com/neutrinojs/neutrino/issues/1641 [UTCORE-121] --- preset.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/preset.js b/preset.js index b421cd6..b739969 100644 --- a/preset.js +++ b/preset.js @@ -34,7 +34,13 @@ module.exports = ({ }] }, publicPath, - devServer: {proxy} + devServer: {proxy}, + babel: { + presets: [[ + '@babel/preset-env', + {include: ['@babel/plugin-proposal-optional-chaining']} + ]] + } }) ); const devextreme = neutrino.config.module