diff --git a/src/index.js b/src/index.js index d8fdf8eeb..b50020ee3 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,5 @@ const { resolve } = require('path') -const { merge } = require('lodash') +const merge = require('lodash/merge') export default async function module (moduleOptions) { // Apply defaults diff --git a/templates/auth.store.js b/templates/auth.store.js index 80f61d8b6..497ca32f2 100644 --- a/templates/auth.store.js +++ b/templates/auth.store.js @@ -1,6 +1,6 @@ import Cookie from 'cookie' import Cookies from 'js-cookie' -import { kebabCase } from 'lodash' +import kebabCase from 'lodash/kebabCase' const options = <%= serialize(options) %> const storageTokenName = kebabCase(options.storageTokenName)