From fd16694c3d2978312951f8aaae1e1e3d155c348c Mon Sep 17 00:00:00 2001 From: Luckydonald <2737108+luckydonald@users.noreply.github.com> Date: Thu, 26 Sep 2024 17:21:31 +0200 Subject: [PATCH] Update plugins.md on how to bundle a plugin. (#3004) * Update plugins.md on how to bundle a plugin. * Update src/guide/reusability/plugins.md --------- Co-authored-by: Natalia Tepluhina --- src/guide/reusability/plugins.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/guide/reusability/plugins.md b/src/guide/reusability/plugins.md index cb52dd4dcf..a9d653eb92 100644 --- a/src/guide/reusability/plugins.md +++ b/src/guide/reusability/plugins.md @@ -135,3 +135,7 @@ export default { ``` + +### Bundle for NPM + +If you further want to build and publish your plugin for others to use, see [Vite's section on Library Mode](https://vitejs.dev/guide/build.html#library-mode).