Skip to content

Commit 108eb43

Browse files
Update babel config
1 parent 7f37e9d commit 108eb43

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/uikit-workshop/webpack.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ module.exports = function (apiConfig) {
7777
'@babel/plugin-proposal-optional-chaining',
7878
['@babel/plugin-proposal-decorators', { legacy: true }],
7979
['@babel/plugin-proposal-class-properties', { loose: true }],
80+
['@babel/plugin-proposal-private-methods', { loose: true }],
81+
[
82+
'@babel/plugin-proposal-private-property-in-object',
83+
{ loose: true },
84+
],
8085
'@babel/plugin-syntax-dynamic-import',
8186
'@babel/plugin-syntax-jsx' /* [1] */,
8287
[
@@ -120,7 +125,7 @@ module.exports = function (apiConfig) {
120125
options: {
121126
sassOptions: {
122127
sourceMap: config.sourceMaps,
123-
outputStyle: 'expanded'
128+
outputStyle: 'expanded',
124129
},
125130
},
126131
},

0 commit comments

Comments
 (0)