mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-24 16:09:32 -06:00
* Remove useless code * Add code-coverage to reacr devDependencies * Remove react/support imports * Remove some useless code from @cypress/react * Cleanup vue * Make it works :) * Fix react errors * Fix next.js react example Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com> Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
10 lines
262 B
JavaScript
10 lines
262 B
JavaScript
const filePreprocessor = require('../cra-v3/file-preprocessor')
|
|
|
|
module.exports = (on, config) => {
|
|
on('file:preprocessor', filePreprocessor(config))
|
|
|
|
// IMPORTANT to return the config object
|
|
// with the any changed environment variables
|
|
return config
|
|
}
|