Skip to content

Commit

Permalink
Update babel config
Browse files Browse the repository at this point in the history
  • Loading branch information
JosefBredereck committed Dec 6, 2021
1 parent 7f37e9d commit 108eb43
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/uikit-workshop/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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] */,
[
Expand Down Expand Up @@ -120,7 +125,7 @@ module.exports = function (apiConfig) {
options: {
sassOptions: {
sourceMap: config.sourceMaps,
outputStyle: 'expanded'
outputStyle: 'expanded',
},
},
},
Expand Down

0 comments on commit 108eb43

Please sign in to comment.