refactor(deps): replace d3-color with empty object
This commit is contained in:
Vendored
+9
@@ -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;
|
||||
Reference in New Issue
Block a user