svelte-persistent-store icon indicating copy to clipboard operation
svelte-persistent-store copied to clipboard

PR to update package.json exports to remove warnings.

Open typhonrt opened this issue 4 years ago • 0 comments

Greets,

I'd like to make a PR or just get this module updated for better exports in package.json. This will remove several warnings from Node and Svelte. I can make a PR, but didn't want it to be sitting there for a while. Of course this is an easy update too for the maintainer.

Regards...

  "exports": {
    "./*": "./dist/*",
    ".": {
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    },
    "./local": {
      "import": "./dist/local.mjs",
      "require": "./dist/local.js"
    },
    "./session": {
      "import": "./dist/session.mjs",
      "require": "./dist/session.js"
    },
    "./package.json": "./package.json"
  },

typhonrt avatar Oct 28 '21 19:10 typhonrt