mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 08:19:45 +01:00
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,
|
// plugins: stage3Syntax,
|
||||||
errorRecovery: true
|
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) {
|
}, function (err, result) {
|
||||||
if (err)
|
if (err)
|
||||||
return reject(err);
|
return reject(err);
|
||||||
|
Loading…
Reference in New Issue
Block a user