From 30634f7433364085cf504fdd05bb77e26e1d4f42 Mon Sep 17 00:00:00 2001 From: Peter Kaske Date: Fri, 22 Apr 2022 13:00:12 +0200 Subject: [PATCH] Fix export again. --- lazy-imports.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lazy-imports.js b/lazy-imports.js index 9fe8e9f..ca7f1fd 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 const LazyImports = class { +export default class { constructor(lazyMap) { this.lazyMap = lazyMap; } diff --git a/package.json b/package.json index 420c95a..d53d133 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tp/helpers", - "version": "1.1.2", + "version": "1.1.3", "description": "", "main": "closest.js", "scripts": {