Skip to content

Commit

Permalink
export package.json
Browse files Browse the repository at this point in the history
fixes an error with rollup-plugin-svelte, but should be more generally useful for tools that want to introspect `package.json`:

```
rollup-plugin-svelte: The following packages did not export their `package.json` file so we could not check the `svelte` field. If you had difficulties importing svelte components from a package, then please contact the author and ask them to export the package.json file.
```
  • Loading branch information
gdamjan authored Oct 24, 2020
1 parent 6e3d328 commit 425877d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
},
"./esm/": {
"import": "./esm/"
}
},
"./package.json": "./package.json"
},
"scripts": {
"lint": "eslint lib/* tests/*",
Expand Down

0 comments on commit 425877d

Please sign in to comment.