From a7c203595f93c5bef09bcf1eef1db920fc3aacfe Mon Sep 17 00:00:00 2001 From: ruedap Date: Sun, 14 Jun 2020 12:56:03 +0900 Subject: [PATCH] refactor(libs): Export merge in libs --- libs/index.ts | 3 +++ styles/abstracts/colors.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 libs/index.ts diff --git a/libs/index.ts b/libs/index.ts new file mode 100644 index 00000000..763d8be0 --- /dev/null +++ b/libs/index.ts @@ -0,0 +1,3 @@ +import _merge from 'lodash/merge' + +export const merge = _merge diff --git a/styles/abstracts/colors.ts b/styles/abstracts/colors.ts index 9b31488d..d147ffc5 100644 --- a/styles/abstracts/colors.ts +++ b/styles/abstracts/colors.ts @@ -1,5 +1,5 @@ import { fibo } from './funcs' -import merge from 'lodash/merge' +import { merge } from '@/libs' const baseAlphas = { xs2: fibo('xs2', 'alpha'),