Skip to content

Commit

Permalink
Exports: add index to export Router & App
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmrcaga committed Mar 4, 2022
1 parent 4b6552b commit 3634022
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
const Router = require('./lib/router');
const App = require('./lib/app');
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@control/cloudflare-workers-router",
"version": "0.0.0",
"description": "A simple & lightweight router designed for cloudflare workers",
"main": "lib/router.js",
"main": "index.js",
"scripts": {
"test": "mocha --recursive --exit ./test"
},
Expand Down

0 comments on commit 3634022

Please sign in to comment.