From 2a42e65421f92a966d8f5049504a4499531a8c5d Mon Sep 17 00:00:00 2001 From: Sal Scotto Date: Thu, 23 Aug 2018 09:37:11 -0600 Subject: [PATCH] update package file to point to transpiled build setting the main as the src file causes import statements to pull it and if using webpack and not running babel over your node_modules, will cause compile failure on ie 11, this change will update the package file to point to the built version instead of source. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c90326e79..7abd22ba8 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "moment" ], "license": "MIT", - "main": "src/js/bootstrap-datetimepicker.js", + "main": "build/js/bootstrap-datetimepicker.min.js", "name": "pc-bootstrap4-datetimepicker", "repository": { "type": "git",