This package provides a plugin that uses Vite and a given Vite configuration file to bundle an application or library as part of the SDEverywhere builder process (i.e., sde bundle
or sde dev
).
The best way to get started with SDEverywhere is to follow the Quick Start instructions.
If you follow those instructions, the @sdeverywhere/plugin-vite
package will be added to your project automatically, in which case you can skip the next section and jump straight to the "Usage" section below.
# npm
npm install --save-dev @sdeverywhere/plugin-vite
# pnpm
pnpm add -D @sdeverywhere/plugin-vite
# yarn
yarn add -D @sdeverywhere/plugin-vite
TODO: This section needs to be fleshed out. In the meantime, you can refer to the API documentation below for the options used to configure this plugin.
API documentation (for plugin configuration options) is available in the docs
directory.
SDEverywhere is distributed under the MIT license. See LICENSE
for more details.