mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-14 04:03:51 +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'),
|
|
},
|
|
});
|
|
});
|
|
};
|