Skip to content

Commit

Permalink
fix(build): remove components and utils from build + set components e…
Browse files Browse the repository at this point in the history
…xport to src

update packages to latest

fixes #18
  • Loading branch information
yassinedoghri committed Aug 27, 2022
1 parent bb60949 commit bb7ab0f
Show file tree
Hide file tree
Showing 10 changed files with 996 additions and 568 deletions.
10 changes: 1 addition & 9 deletions build.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@
require("esbuild")
.build({
bundle: true,
entryPoints: [
"src/index.ts",
"src/utils.ts",
"src/components/index.mts",
"src/cli/index.ts",
],
entryPoints: ["src/index.ts", "src/cli/index.ts"],
outdir: "dist",
external: [
"i18next",
Expand All @@ -28,9 +23,6 @@ require("esbuild")
sourcemap: "inline",
sourcesContent: false,
allowOverwrite: true,
loader: {
".astro": "file",
},
assetNames: "[dir]/[name]",
})
.catch(() => process.exit(1));
Loading

0 comments on commit bb7ab0f

Please sign in to comment.