mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 18:23:50 +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'),
|
|
},
|
|
});
|
|
});
|
|
};
|