mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Merge pull request #1824 from freqtrade/test/moduletype
Add type:module to package.json
This commit is contained in:
commit
4d1dcd9f35
|
@ -5,9 +5,6 @@ export default defineConfig({
|
|||
e2e: {
|
||||
// We've imported your old cypress plugins here.
|
||||
// You may want to clean this up later by importing these.
|
||||
setupNodeEvents(on, config) {
|
||||
return require('./cypress/plugins/index.js')(on, config);
|
||||
},
|
||||
specPattern: 'cypress/e2e/**/*.cy.ts',
|
||||
baseUrl: 'http://localhost:3000',
|
||||
},
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
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'),
|
||||
},
|
||||
});
|
||||
});
|
||||
};
|
|
@ -2,6 +2,7 @@
|
|||
"name": "frequi",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
|
|
Loading…
Reference in New Issue
Block a user