mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 03:25:15 +00:00
14 lines
334 B
JavaScript
14 lines
334 B
JavaScript
const path = require('path');
|
|
const { startDevServer } = require('@cypress/vite-dev-server');
|
|
|
|
module.exports = (on, config) => {
|
|
on('dev-server:start', (options) => {
|
|
return startDevServer({
|
|
options,
|
|
viteConfig: {
|
|
configFile: path.resolve(__dirname, '..', '..', 'vite.config.js'),
|
|
},
|
|
});
|
|
});
|
|
};
|