Skip to content

Commit

Permalink
Merge pull request #5 from AthennaIO/develop
Browse files Browse the repository at this point in the history
feat(plugin): update assetsDir
  • Loading branch information
jlenon7 authored Jan 6, 2025
2 parents 3678c29 + 6cdb69a commit ffe5850
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/vite",
"version": "5.4.0",
"version": "5.5.0",
"description": "Vite plugin for Athenna Framework.",
"license": "MIT",
"author": "João Lenon <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/fastify/FastifyVite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class FastifyVite {
this.scope = scope
this.options = Options.create(options, {
root: Path.pwd(),
assetsUrl: '/assets',
assetsUrl: '/public/assets',
buildDirectory: 'public/assets',
dev: Config.is('app.environment', 'production'),
manifestFile: this.options?.buildDirectory
Expand Down
2 changes: 1 addition & 1 deletion src/types/fastify/FastifyViteOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export type FastifyViteOptions = {
* The URL to prefix when generating assets URLs. For example: This
* could the CDN URL when generating the production build.
*
* @default ''
* @default '/public/assets'
*/
assetsUrl?: string

Expand Down

0 comments on commit ffe5850

Please sign in to comment.