forked from extern/egroupware
This enables decorators (@property) but it breaks some of our existing widgets (eg: et2_searchbox properties go missing).
I've no idea why.
This commit is contained in:
parent
b0322c549a
commit
a3f1e8d367
@ -100,7 +100,12 @@ const config = {
|
||||
// plugins: stage3Syntax,
|
||||
errorRecovery: true
|
||||
},
|
||||
presets: ['@babel/preset-typescript']
|
||||
presets: ['@babel/preset-typescript'],
|
||||
plugins: [
|
||||
// These two to use LitElement decorators
|
||||
'@babel/plugin-proposal-class-properties',
|
||||
['@babel/plugin-proposal-decorators', {decoratorsBeforeExport: true}],
|
||||
]
|
||||
}, function (err, result) {
|
||||
if (err)
|
||||
return reject(err);
|
||||
|
Loading…
Reference in New Issue
Block a user