From 0aaed55a2996dabe4832c0a5417b1c390df64764 Mon Sep 17 00:00:00 2001 From: Paul Falgout Date: Wed, 17 Apr 2019 15:50:52 +0900 Subject: [PATCH] Use the module key for the modern build Possibly moderately breaking for someone using a modern build system for very old projects, but this would require less specific requiring for most people --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 0de534bf..c89d85b1 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "2.0.12", "description": "A localStorage wrapper for all browsers without using cookies or flash. Uses localStorage, globalStorage, and userData behavior under the hood", "main": "dist/store.legacy.js", + "module": "dist/store.modern.js", "scripts": { "test": "make test" },