Use new @rollup/plugin-terser instead of rollup-plugin-terser

This commit is contained in:
Romein van Buren 2023-10-02 16:26:25 +02:00
parent 744c726603
commit c7d40a3ec1
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -4,13 +4,14 @@ const { fork } = require('child_process');
const { minifyHtml } = require('core/strings');
const { readFile } = require('fs/promises');
const { makeId } = require('core/makeid');
const buildDeps = {
rollup: require('rollup').rollup,
commonjs: require('@rollup/plugin-commonjs'),
css: require('rollup-plugin-css-only'),
resolve: require('@rollup/plugin-node-resolve').nodeResolve,
svelte: require('rollup-plugin-svelte'),
terser: require('rollup-plugin-terser').terser,
terser: require('@rollup/plugin-terser'),
};
const icons = {