Skip to content

Commit

Permalink
add babel configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Digberi committed Sep 13, 2023
1 parent 0a02038 commit 96fc716
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion craco.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ module.exports = {
plugins: [
'babel-plugin-transform-typescript-metadata',
['@babel/plugin-proposal-decorators', { legacy: true }],
['@babel/plugin-proposal-class-properties', { loose: true }]
['@babel/plugin-proposal-class-properties', { loose: true }],
['@babel/plugin-transform-private-property-in-object', { loose: true }],
['@babel/plugin-transform-private-methods', { loose: true }]
],
loaderOptions: babelLoaderOptions => {
return babelLoaderOptions;
Expand Down

0 comments on commit 96fc716

Please sign in to comment.