Skip to content

Commit

Permalink
fix: allow requiring in cjs context (#1465)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Jul 11, 2022
1 parent 6f0f3ae commit 5f3febe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"default": "./index.js"
}
},
"import": "./dist/vue-router.mjs"
"import": "./dist/vue-router.mjs",
"require": "./index.js"
},
"./dist/*": "./dist/*",
"./vetur/*": "./vetur/*",
Expand Down

0 comments on commit 5f3febe

Please sign in to comment.