mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 23:53:10 +08:00
fixed issue with babel plugin proposal class properties that initiated
properties to void 0. This breaks angularjs preAssignBinding which applies bindings to this before constructor is called. Fixed by using fork of babel plugin. https://github.com/babel/babel/issues/8417
This commit is contained in:
@ -55,7 +55,7 @@ module.exports = merge(common, {
|
||||
cacheDirectory: true,
|
||||
babelrc: false,
|
||||
plugins: [
|
||||
["@babel/plugin-proposal-class-properties", { loose: true }],
|
||||
[require("@rtsao/plugin-proposal-class-properties"), { loose: true }],
|
||||
'angularjs-annotate',
|
||||
'syntax-dynamic-import', // needed for `() => import()` in routes.ts
|
||||
'react-hot-loader/babel'
|
||||
|
Reference in New Issue
Block a user