From ff088924456629bc4c4da436f60f37370210c80f Mon Sep 17 00:00:00 2001 From: nsd Date: Tue, 26 Jul 2022 16:25:27 -0700 Subject: [PATCH] Add the documented "type": "module" flag line to package.json, so that ESM module files (.mjs) can successfully import this package. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 2da1e5c..f09bb91 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "require": "./dist/pinia-persist.umd.js" } }, + "type": "module", "types": "./dist", "devDependencies": { "@babel/types": "^7.17.0",