Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/6.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
olifolkerd committed Mar 17, 2024
2 parents 5768f11 + 3ce956c commit f173cb2
Show file tree
Hide file tree
Showing 166 changed files with 12,234 additions and 7,859 deletions.
14 changes: 8 additions & 6 deletions build/Bundler.js → build/Bundler.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import { createRequire } from 'node:module';
const require = createRequire(import.meta.url);

import { nodeResolve } from "@rollup/plugin-node-resolve";
import { terser } from "rollup-plugin-terser";
import terser from "@rollup/plugin-terser";

const license = require("rollup-plugin-license");
const globby = require("globby");
const fs = require("fs-extra");
import license from 'rollup-plugin-license';
import {globbySync} from 'globby';
import fs from 'fs-extra';

import postcss from "rollup-plugin-postcss";

Expand All @@ -19,7 +22,6 @@ export default class Bundler{
_suppressUnnecessaryWarnings(warn, defaultHandler){
const ignoredCodes = {
"FILE_NAME_CONFLICT": true,
"CIRCULAR_DEPENDENCY": this._suppressCircularDependencyWarnings,
};

var suppressed = false,
Expand Down Expand Up @@ -113,7 +115,7 @@ export default class Bundler{
}

bundleCSS(minify){
this.bundles = this.bundles.concat(globby.sync("./src/scss/**/tabulator*.scss").map(inputFile => {
this.bundles = this.bundles.concat(globbySync("./src/scss/**/tabulator*.scss").map(inputFile => {

var file = inputFile.split("/");
file = file.pop().replace(".scss", (minify ? ".min" : "") + ".css");
Expand Down
6 changes: 0 additions & 6 deletions build/rollup.js

This file was deleted.

9 changes: 9 additions & 0 deletions build/rollup.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { createRequire } from 'node:module';
const require = createRequire(import.meta.url);

import Bundler from "./Bundler.mjs";
const pkg = require("../package.json");

var bundler = new Bundler(pkg.version, process.env.TARGET);

export default bundler.bundle();
62 changes: 62 additions & 0 deletions dist/css/tabulator.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/tabulator.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/tabulator.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/tabulator.min.css.map

Large diffs are not rendered by default.

72 changes: 72 additions & 0 deletions dist/css/tabulator_bootstrap3.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/tabulator_bootstrap3.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/tabulator_bootstrap3.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/tabulator_bootstrap3.min.css.map

Large diffs are not rendered by default.

78 changes: 78 additions & 0 deletions dist/css/tabulator_bootstrap4.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/tabulator_bootstrap4.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/tabulator_bootstrap4.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/tabulator_bootstrap4.min.css.map

Large diffs are not rendered by default.

Loading

0 comments on commit f173cb2

Please sign in to comment.