From 0385433ab9c8d5f9ea2cc80bd008196b2ce75c6f Mon Sep 17 00:00:00 2001 From: Michael Russell Date: Mon, 16 Aug 2021 11:02:41 -0400 Subject: [PATCH] Adds "./package.json" to exports Updates from 1.2.0+ fail when building with Webpack 5/node 16 due to `Package subpath './package.json' is not defined by "exports" in [...]/node_modules/vuex-class-modules/package.json` --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2ad0321..17fc500 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ ".": { "require": "./commonjs/index.js", "default": "./lib/index.js" - } + }, + "./package.json": "./package.json" }, "types": "lib/index.d.ts", "files": [