Skip to content

Commit c3f4f53

Browse files
committed
fix babel config warnings
1 parent b704221 commit c3f4f53

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

config/babel.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ const pathsUsingDecorators = ['src/design-system', 'src/primitives', 'src/storyb
1010

1111
export const litDecoratorsBabelOptions = {
1212
assumptions: {
13-
setPublicClassFields: false
13+
setPublicClassFields: true,
14+
privateFieldsAsSymbols: true
1415
},
1516
plugins: [
1617
'@babel/plugin-transform-class-static-block',
1718
['@babel/plugin-transform-typescript', { allowDeclareFields: true }],
1819
['@babel/plugin-proposal-decorators', { version: '2023-05' }],
19-
['@babel/plugin-transform-class-properties', { loose: true }]
20+
'@babel/plugin-transform-class-properties'
2021
]
2122
}
2223

0 commit comments

Comments
 (0)