diff --git a/lazy-imports.js b/lazy-imports.js index ca7f1fd..9fe8e9f 100644 --- a/lazy-imports.js +++ b/lazy-imports.js @@ -32,7 +32,7 @@ This program is available under Apache License Version 2.0 * So, if for example your route is /user/settings you need to split * the path to [ 'user', 'settings' ] and feed it to the _lazyImport function. */ -export default class { +export const LazyImports = class { constructor(lazyMap) { this.lazyMap = lazyMap; } diff --git a/package.json b/package.json index b1867ed..420c95a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tp/helpers", - "version": "1.1.1", + "version": "1.1.2", "description": "", "main": "closest.js", "scripts": {