In this diff I moved build to babel 7, removed unused packages and made babel helpers importable from runtime. This allows to reuse these helpers across many packages and save a few kilobytes in user bundle.
8 lines
187 B
JavaScript
8 lines
187 B
JavaScript
module.exports = {
|
|
presets: [['@babel/env', { loose: true }], '@babel/flow'],
|
|
plugins: [
|
|
['@babel/proposal-class-properties', { loose: true }],
|
|
'annotate-pure-calls',
|
|
],
|
|
};
|