From df6718f1ed2f8df3f8307ee93e06e9c30bb5220e Mon Sep 17 00:00:00 2001 From: codecalm Date: Sun, 27 Oct 2019 17:27:40 +0100 Subject: [PATCH] build feixes --- build/rollup.config.js | 6 ++++-- js/tabler-charts.js | 7 ------- js/tabler.js | 7 ------- 3 files changed, 4 insertions(+), 16 deletions(-) diff --git a/build/rollup.config.js b/build/rollup.config.js index 2c07f492..eaa2727b 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 a829e9e0..10a378e7 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 4e968f27..e3fef4ec 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 = { -- GitLab