Skip to content

Commit 732524e

Browse files
Chrystiam Nascimento JuniorChrystiam Nascimento Junior
authored andcommitted
feat(Vite): Enhance vite build config
1 parent f817eb7 commit 732524e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,20 @@
152152
"@semantic-release/commit-analyzer",
153153
"@semantic-release/release-notes-generator",
154154
"@semantic-release/changelog",
155-
"@semantic-release/npm",
155+
[
156+
"@semantic-release/npm",
157+
{
158+
"pkgRoot": "dist"
159+
}
160+
],
156161
[
157162
"@semantic-release/git",
158163
{
159164
"assets": [
160165
"CHANGELOG.md",
161166
"package.json",
162-
"package-lock.json"
167+
"package-lock.json",
168+
"dist/**/*.{js,cjs,mjs,png}"
163169
],
164170
"message": "build(release): v${nextRelease.version} [release]"
165171
}

0 commit comments

Comments
 (0)