- ebc03b8: Adds support for inline configuration.
- ebc03b8: Adds
pagefind_dir
option to configure the pagefind directory (rather than hardcoded to/pagefind
).
- 2fe4aaf: Update peerDependency
vite
.
- f6dd0d4: fix: Move Vite to peer deps
- f6e01b7: fix: correctly switch from
PluginOption
toPlugin
as the return type.
- 25f5487: Removed index.js, much clearer
- 8749267: Internal rewrite to JSDoc
- c0c6b7b: Fixed
dev
having the correct plugin name
- 0f227d5: Remove catch
- b82f87c: Catch errors and log instead of throwing
- fe3cb74: Better logs
- 64dcd74: Made
vite_plugin_pagefind
optional so an empty config is no longer required
- 8dcc9bc: Added defaults per config options
- 20c545a: Renamed
vite_plugin
tovite_plugin_pagefind
- 8dcc9bc: Added
/types
export for easier use
- 010e977: Added
dev_strategy
option, meaning you can develop with eager or lazy indexing - 010e977: Plugin now strictly uses pagefind.json
- c6b6c63: bugfix: Types are now exported from root index
- bc84506: Feature: Added type definitions importable from
vite-plugin-pagefind/types
- bc84506: Breaking: Renamed
PagefindPluginConfig
toConfig
- bc84506: Breaking: Named
publicDir
toassetsDir
- bc84506: bugfix: replaced
process.cwd()
withconfig.root
to conform with Vite
- 3bd4c12: Add quotes to path so it still works when there are spaces in the path
- f085992: Added nuxt example
- e02e88b: Fixed dynamic import broken only on initial dev server
- a10bad1: Fixed bad directory
- f1427a7: Cleaned up some internals
- 19ca67b: Fixed executeMeasured return time (start - stop should be stop - start)
- 720dbb8: Removed the automatic pagefind run on post build in favor of manually doing so to be framework agnostic (some frameworks have their own CLI wrappers around Vite so it was impossible to run post build since the framework ran after
vite build
had completed.
- d8de3ba: Graph improvements
- 7aafe6b: Added flow chart to showcase what pagefind does
- 74aed9c: Added Astro example 🎉
- ce7ba7a: Docs cleanup and default empty object fix
- 396c975: Added @antfu/ni in order to detect package and allow for more flexible build process (rather than harcoding
vite build
- 6da3d09: Minor doc changes
- dfde5a4: Added examples folder, added SvelteKit
- e1cbe1f: Fixed dynamic imports being due to faulty vite configuration
- 6bb27bc: Fixed nested pagefind dir
- 3759d12: Removed testing console.log
- a9d0e41: Removed prerequisites from docs since the plugin will handle pagefind through the node API
- e08ff34: Cleaned up docs, renamed appDir to publicDir (makes more sense with vite), added LICENSE
- b974483: Fixed docs
- 692518a: Added assetsInclude config and external config to make usage of pagefind FAR easier
- cf9d8a7: Forced buildDir to be present
- 9f91f77: Fixed buildDir being optional type
- 1dc1751: Renamed pagefindDir to appDir and removed the need to specify the
pagefind
folder - 1dc1751: Added documentation (see README.md)
- bd97d3d: Finally fixed running pagefind after build
- fcf32c0: Fixed broken vite dependency: vitejs/vite#15714
- 9bdcc49: Fixed pagefind post build not running after the build process
- d911925: Fixed hardcoded buildDir
- 324852e: Added quotes around paths for pagefind to prevent invalid paths from occuring
- 04163e9: Added cwd option that defaults to process.cwd, added default to buildDir: build
- 93731cd: Bugfix: Had colorette as devDep causing issues with the plugin
- 2f8a075: Only packaging dist files now
- a969687: Released package