2
0
mirror of https://github.com/iconify/iconify.git synced 2025-01-05 15:02:09 +00:00

chore(svg-framework): remove buble from build process

This commit is contained in:
Vjacheslav Trushkin 2023-04-01 20:40:37 +03:00
parent 7bf2a53ab8
commit 6822667476
2 changed files with 0 additions and 13 deletions

View File

@ -75,7 +75,6 @@
"@iconify/core": "workspace:^",
"@iconify/utils": "workspace:^",
"@microsoft/api-extractor": "^7.33.7",
"@rollup/plugin-buble": "^1.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2",
"@types/jest": "^29.2.4",

View File

@ -1,6 +1,5 @@
import { readFileSync, writeFileSync } from 'fs';
import resolve from '@rollup/plugin-node-resolve';
import buble from '@rollup/plugin-buble';
import { terser } from 'rollup-plugin-terser';
import replace from '@rollup/plugin-replace';
@ -121,17 +120,6 @@ names.forEach((name) => {
],
};
if (ext === 'js') {
// Support old browsers only in .js files.
// Other files are for modern browsers that don't need it or
// for bundlers that should handle old browser support themselves.
item.plugins.push(
buble({
objectAssign: 'Object.assign',
})
);
}
if (minify) {
item.plugins.push(terser());
}