Skip to content

Commit 425877d

Browse files
authored
export package.json
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. ```
1 parent 6e3d328 commit 425877d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
},
4040
"./esm/": {
4141
"import": "./esm/"
42-
}
42+
},
43+
"./package.json": "./package.json"
4344
},
4445
"scripts": {
4546
"lint": "eslint lib/* tests/*",

0 commit comments

Comments
 (0)