From 4e2abc4499a1b7972a56a15d043281488e1acfcc Mon Sep 17 00:00:00 2001 From: ankurk91 Date: Wed, 15 Mar 2023 15:05:15 +0530 Subject: [PATCH] fix: ssr issue #277 --- package.json | 2 +- webpack.config.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fc7c803..e6aa607 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-flatpickr-component", - "version": "11.0.2", + "version": "11.0.3", "description": "Vue.js component for Flatpickr date-time picker", "main": "dist/index.umd.js", "module": "dist/esm/index.js", diff --git a/webpack.config.js b/webpack.config.js index 60e0122..efb0199 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -39,6 +39,7 @@ module.exports = { }, clean: true, pathinfo: false, + globalObject: 'this', }, module: { rules: [