refactor(deps): replace d3-color with empty object

This commit is contained in:
moklick
2022-05-16 19:37:35 +02:00
parent 1eee0cd377
commit 6ec76d2d58
4 changed files with 2210 additions and 6 deletions
+9
View File
@@ -0,0 +1,9 @@
// 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;