]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
fix: expose the plugin in mjs
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 20 Oct 2021 18:38:49 +0000 (20:38 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Wed, 20 Oct 2021 18:38:49 +0000 (20:38 +0200)
packages/nuxt/package.json

index 12661fa950bd65f0ce937f1180b49b7c13a3c8ea..1e0c154019e9d6300f2ffc59399fb511aea234f1 100644 (file)
   },
   "sideEffects": false,
   "exports": {
-    "require": "./dist/index.js",
-    "import": "./dist/index.mjs"
+    ".": {
+      "require": "./dist/index.js",
+      "import": "./dist/index.mjs"
+    },
+    "./templates/plugin.js": "./templates/plugin.js"
   },
   "main": "./dist/index.js",
   "module": "./dist/index.mjs",