vite-plugin-office-addin weekly downloads statistics
By jozefizso · npm · Vite plugins
Office Add-ins development using Vite.
vite-plugin-office-addin has 5,895 recorded weekly downloads on npm, a decrease of 60.4% over the past 30 days, ranking #1093 of 2,322 tracked listings.
About vite-plugin-office-addin
vite-plugin-office-addin
Office Add-ins development using Vite.
Build your Office Add-in using Vite. This plugin adds the support for manifest.xml file to be copied to build output.
Getting Started
Install the vite-plugin-office-addin to your Office Add-in project.
# using npm
npm install --save-dev vite-plugin-office-addin
# using yarn
yarn add vite-plugin-office-addin -D
Configure Vite
Use the plugin in your vite.config.js file:
// vite.config.js
import { defineConfig } from 'vite'
import officeAddin from 'vite-plugin-office-addin'
export default defineConfig({
plugins: [officeAddin()]
})
Advanced Usage
Replacing development address
To replace the development URL address in manifest.xml file to production address,
you can use the plugin configuration option or .env files.
// vite.config.js
import { defineConfig } from 'vite'
import officeAddin from 'vite-plugin-office-addin'
export default defineConfig({
plugins: [officeAddin({
devUrl: 'https://localhost:3000',
prodUrl: 'https://office-addin.contoso.com'
})]
})
Alternatively, you can use .env to replace different addresses for different environments.
Use the ADDIN_DEV_URL and ADDIN_PROD_URL environment variables.
// vite.config.js + .env files
import { defineConfig } from 'vite'
import officeAddin from 'vite-plugin-office-addin'
export default defineConfig({
plugins: [officeAddin()]
})
# .env.production
ADDIN_DEV_URL=https://localhost:3000
ADDIN_PROD_URL=https://office-addin.contoso.com
When you run vite build the generated manifest.xml file will have
production addresses.
Specify a custom path
If your manifest.xml file is not in the project root, set the path property to point to the right location:
// vite.config.js
import { defineConfig } from 'vite'
import officeAddin from 'vite-plugin-office-addin'
export default defineConfig({
plugins: [officeAddin({
path: 'src/other-folder/manifest.xml'
})]
})
Copying multiple manifests
To copy multiple manifests to your output folder, define officeAddin entry for each file:
// vite.config.js
import { defineConfig } from 'vite'
import officeAddin from 'vite-plugin-office-addin'
export default defineConfig({
plugins: [
officeAddin({ path: 'manifest.xml' }),
officeAddin({ path: 'manifest.staging.xml' }),
]
})
License
Licensed under MIT License.
Copyright © 2021 Jozef Izso
Description from the npm listing.
- vite
- vite-plugin
- office-addin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (543)Similar npm Vite plugins plugins
All 20 vite-plugin-office-addin alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/vite-plugin-office-addin. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.