refactor(bundle): remove d3-color via rollup alias

This commit is contained in:
moklick
2021-12-16 16:57:16 +01:00
parent efbdd704cf
commit 639aa1ee23
4 changed files with 40 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
// this helps us to reduce bundle size by ~10kb. d3-color is not used but can't be treeshaked in this case.
const obj = {};
export const rgb = {};
export const color = {};
export const hsl = {};
export const lab = {};
export const hcl = {};
export const cubehelix = {};
export default obj;