diff --git a/build/rollup.config.js b/build/rollup.config.js index 2c07f492110bbf2b8bd7be22b9921d0dfbf5696a..eaa2727b0bf744db14609f54c3ff3391c06b474f 100644 --- a/build/rollup.config.js +++ b/build/rollup.config.js @@ -24,16 +24,18 @@ let plugins = [ ]; if (BUNDLE) { - plugins = [plugins, ...[ + plugins = plugins.concat([ babel({ exclude: 'node_modules/**' }), minify({ comments: false }) - ]]; + ]); } +console.log('plugins', plugins); + module.exports = { context: "window", input: { diff --git a/js/tabler-charts.js b/js/tabler-charts.js index a829e9e0a0dcfd3fe70df16d57c9b157ec2b5f5b..10a378e7f27517756f25d08a6efe7ce9d44d8a48 100644 --- a/js/tabler-charts.js +++ b/js/tabler-charts.js @@ -1,10 +1,3 @@ -/* - * Tabler Charts (v0.9.0) - * Copyright 2018-2019 The Tabler Authors - * Copyright 2018-2019 codecalm - * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE) - */ - (function ($) { $(document).ready(function () { $().peity && diff --git a/js/tabler.js b/js/tabler.js index 4e968f277335caf21522b348ffa1e6b8d6ea9c0b..e3fef4ec372f0604937f4a629a913ef14ee98eb1 100644 --- a/js/tabler.js +++ b/js/tabler.js @@ -1,10 +1,3 @@ -/* - * Tabler (v0.9.0) - * Copyright 2018-2019 The Tabler Authors - * Copyright 2018-2019 codecalm - * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE) - */ - require('./tabler/dropdowns'); const tabler = {