mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-28 00:47:53 +00:00
* eslint-setup: rules for frontend and server * setup pre-commit:hook * frontend:eslint fixes * frontend eslint errors and warning fixed * eslint:fix for ./server * fix server/test: expectatin string lint/error * pre-commit:updated * removed unwanted install cmd from docker file * recommended settings and extension for vscode * husky prepare script added * updated extension recommendations * added prettier as recommended extension * added pre-commit to package.json * remove .prettierrc file * resolve changes * resolve changes
12 lines
368 B
JavaScript
12 lines
368 B
JavaScript
module.exports = (on, config) => {
|
|
if (config.testingType === 'component') {
|
|
const { startDevServer } = require('@cypress/webpack-dev-server');
|
|
|
|
// Your project's Webpack configuration
|
|
const webpackConfig = require('../../webpack.config.js');
|
|
|
|
on('dev-server:start', (options) => startDevServer({ options, webpackConfig }));
|
|
}
|
|
|
|
return config;
|
|
};
|