Skip to content

Commit 457b03d

Browse files
committed
fix(package.json): set correct paths for npm packaging
1 parent b27afe0 commit 457b03d

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,4 +206,4 @@ $RECYCLE.BIN/
206206

207207
# End of https://www.toptal.com/developers/gitignore/api/react,windows,linux,macos,node,vscode
208208

209-
storybook-static
209+
storybook-static

package.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,12 @@
2020
},
2121
"author": "openscript GmbH <[email protected]>",
2222
"license": "MIT",
23-
"files": [
24-
"dist"
25-
],
26-
"main": "./dist/react-section-dividers.umd.js",
27-
"module": "./dist/react-section-dividers.es.js",
23+
"main": "./react-section-dividers.umd.js",
24+
"module": "./react-section-dividers.es.js",
2825
"exports": {
2926
".": {
30-
"import": "./dist/react-section-dividers.es.js",
31-
"require": "./dist/react-section-dividers.umd.js"
27+
"import": "./react-section-dividers.es.js",
28+
"require": "./react-section-dividers.umd.js"
3229
}
3330
},
3431
"size-limit": [

0 commit comments

Comments
 (0)