egg-vite
v0.0.5
Published
[![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][codecov-image]][codecov-url] [![David deps][david-image]][david-url] [![Known Vulnerabilities][snyk-image]][snyk-url] [![npm download][download-image]][down
Downloads
1
Readme
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.