chore: new packages directory

This commit is contained in:
Ayo Ayco 2024-08-19 12:50:10 +02:00
parent fcf24aeb5b
commit 258c400ccf
3 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
import { defineConfig } from "astro/config";
import node from "@astrojs/node";
import serviceWorker from "./index.js";
import serviceWorker from "./packages/index.js";
export default defineConfig({
output: "hybrid",

View file

@ -9,10 +9,10 @@
},
"exports": {
".": {
"import": "./index.js"
"import": "./packages/index.js"
}
},
"main": "index.js",
"main": "./packages/index.js",
"type": "module",
"engines": {
"node": ">=18.0.0"