diff --git a/debian/control b/debian/control index 5e7cf6d..f8bffc7 100644 --- a/debian/control +++ b/debian/control @@ -5,6 +5,7 @@ Maintainer: Daniel Baumann Build-Depends: debhelper-compat (= 13), dh-sequence-nodejs, + esbuild, node-autoprefixer, node-babel7, node-less, @@ -16,7 +17,6 @@ Build-Depends: node-source-map, rollup, sassc, - terser, Rules-Requires-Root: no Standards-Version: 4.7.2 Homepage: https://getbootstrap.com diff --git a/debian/rules b/debian/rules index cef140b..effad00 100755 --- a/debian/rules +++ b/debian/rules @@ -33,11 +33,11 @@ override_dh_auto_build: # bootstrap.js NODE_PATH=node_modules rollup --sourcemap --environment BUNDLE:false --config build/rollup.config.mjs - cd dist/js && terser --compress --mangle --comments "/^!" --source-map content=bootstrap.js.map,includeSources,url=bootstrap.min.js.map -o bootstrap.min.js bootstrap.js + esbuild dist/js/bootstrap.js --sourcemap --outfile=dist/js/bootstrap.min.js --minify # bootstrap.bundle.js NODE_PATH=node_modules rollup --sourcemap --environment BUNDLE:true --config build/rollup.config.mjs - cd dist/js && terser --compress --mangle --comments "/^!" --source-map content=bootstrap.bundle.js.map,includeSources,url=bootstrap.bundle.min.js.map -o bootstrap.bundle.min.js bootstrap.bundle.js + esbuild dist/js/bootstrap.bundle.js --sourcemap --outfile=dist/js/bootstrap.bundle.min.js --minify override_dh_auto_install: # disabled