From 108eb439f47d2abe77824775a15417c96238eca0 Mon Sep 17 00:00:00 2001 From: Josef Bredreck Date: Mon, 6 Dec 2021 19:26:16 +0100 Subject: [PATCH] Update babel config --- packages/uikit-workshop/webpack.config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/uikit-workshop/webpack.config.js b/packages/uikit-workshop/webpack.config.js index 1911b0953..9466525a3 100644 --- a/packages/uikit-workshop/webpack.config.js +++ b/packages/uikit-workshop/webpack.config.js @@ -77,6 +77,11 @@ module.exports = function (apiConfig) { '@babel/plugin-proposal-optional-chaining', ['@babel/plugin-proposal-decorators', { legacy: true }], ['@babel/plugin-proposal-class-properties', { loose: true }], + ['@babel/plugin-proposal-private-methods', { loose: true }], + [ + '@babel/plugin-proposal-private-property-in-object', + { loose: true }, + ], '@babel/plugin-syntax-dynamic-import', '@babel/plugin-syntax-jsx' /* [1] */, [ @@ -120,7 +125,7 @@ module.exports = function (apiConfig) { options: { sassOptions: { sourceMap: config.sourceMaps, - outputStyle: 'expanded' + outputStyle: 'expanded', }, }, },