Skip to content

Commit

Permalink
Use named exports to match old behavior, use non-deprecated prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
schneidmaster committed Feb 11, 2021
1 parent 09014bd commit 655496b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"types": "lib/index.d.ts",
"scripts": {
"build": "rollup -c rollup.config.ts",
"prepublish": "npm run build",
"prepare": "npm run build",
"test": "jest",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"format": "prettier --write '**/*.{ts,json}'",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
output: {
file: "lib/index.js",
format: "cjs",
exports: "default"
exports: "named"
},
external: [
"schema-utils",
Expand Down

0 comments on commit 655496b

Please sign in to comment.