From 9fa83d77141e7f6e6d24b17b80d097f54ac7f38a Mon Sep 17 00:00:00 2001 From: Valentino Stoll Date: Thu, 26 Aug 2021 08:40:39 -0400 Subject: [PATCH] Update package.json to add support for ESM With this in place, we can now use matestack-ui-bootstrap as an ES Module, and ultimately, with [importmap-rails[(https://github.com/rails/importmap-rails). --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index f14ec79..3de1a05 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "devDependencies": { "webpack-dev-server": "^3.11.0" }, + "module": "./lib/matestack/ui/bootstrap/index.js", "exports": { ".": "./lib/matestack/ui/bootstrap/index.js" }