0.0.5 • Published 1 year ago
egg-vite v0.0.5
egg-vite
Install
$ npm i egg-vite --save
Usage
// {app_root}/config/plugin.js
exports.vite = {
enable: true,
package: 'egg-vite',
};
Configuration
// {app_root}/config/config.local.js
config.vite = {
// default默认是false,就不会启动vite服务
devServer: true,
targets: [
/^(\/node_modules)/g,
'/assets/(.*)'
],
inlineConfig:{}
}
see config/config.default.js for more detail.
Example
Questions & Suggestions
Please open an issue here.