zigbee2mqtt/babel.config.js
Koen Kanters ca3c6ce32f
More TypeScript refactoring (#8797)
* ts

* Updates
2021-09-18 18:23:28 +02:00

12 lines
328 B
JavaScript

module.exports = {
presets: [
['@babel/preset-env', {targets: {node: 'current'}}],
'@babel/preset-typescript',
],
assumptions: {setPublicClassFields: true},
plugins: [
['@babel/plugin-proposal-decorators', {'legacy': true}],
['@babel/plugin-proposal-class-properties'],
],
};