diff --git a/appinfo/info.xml b/appinfo/info.xml index aaba56664..a3524ad55 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -36,7 +36,7 @@ pgsql sqlite mysql - + OCA\Deck\Cron\DeleteCron diff --git a/js/.babelrc.js b/js/.babelrc.js new file mode 100644 index 000000000..21cf7022f --- /dev/null +++ b/js/.babelrc.js @@ -0,0 +1,12 @@ +module.exports = { + presets: [ + [ + '@babel/preset-env', + { + targets: { + browsers: ['last 2 versions', 'ie >= 11'] + } + } + ] + ] +} diff --git a/js/webpack.config.js b/js/webpack.config.js index 54cfbed79..8961df4ec 100644 --- a/js/webpack.config.js +++ b/js/webpack.config.js @@ -2,14 +2,12 @@ const path = require('path'); const webpack = require('webpack'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); -require('babel-polyfill'); - module.exports = { node: { fs: 'empty', }, entry: { - deck: ['babel-polyfill', './init.js'], + deck: ['./init.js'], }, output: { filename: '[name].js',