Skip to content

Commit

Permalink
+ 1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
yracnet committed Dec 20, 2023
1 parent cf6f55f commit f0f6bc5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite-plugin-api-routes",
"version": "1.0.7",
"version": "1.0.8",
"type": "module",
"description": "A Vite.js plugin that creates API routes by mapping the directory structure, similar to Next.js API Routes. This plugin enhances the functionality for backend development using Vite.",
"keywords": [
Expand Down Expand Up @@ -57,4 +57,4 @@
"typescript": "^5.3.3",
"vite": "^2.0.0"
}
}
}
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,8 @@ export const pluginAPIRoutes = (opts: UserConfig = {}) => {
});
};

export const pluginAPI = pluginAPIRoutes;

export const createAPI = pluginAPIRoutes;

export default pluginAPIRoutes;

0 comments on commit f0f6bc5

Please sign in to comment.