forked from ABI-Software/flatmapvuer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unused cypress/webpack-dev-server for security fix
- Loading branch information
Showing
3 changed files
with
91 additions
and
3,180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
const { startDevServer } = require('@cypress/webpack-dev-server') | ||
const webpackConfig = require('@vue/cli-service/webpack.config.js') | ||
// Plugins to be added in main config | ||
// https://docs.cypress.io/guides/tooling/plugins-guide#Using-a-plugin | ||
// | ||
// Legacy configuration | ||
// https://docs.cypress.io/guides/references/legacy-configuration#Plugins | ||
// | ||
// @cypress/webpack-dev-server is bundled with the Cypress binary and should not need to be installed separately. | ||
// https://github.com/cypress-io/cypress/tree/develop/npm/webpack-dev-server#cypresswebpack-dev-server | ||
// | ||
// const { startDevServer } = require('@cypress/webpack-dev-server') | ||
// const webpackConfig = require('@vue/cli-service/webpack.config.js') | ||
|
||
module.exports = (on, config) => { | ||
on('dev-server:start', options => | ||
startDevServer({ | ||
options, | ||
webpackConfig | ||
}) | ||
) | ||
// module.exports = (on, config) => { | ||
// on('dev-server:start', options => | ||
// startDevServer({ | ||
// options, | ||
// webpackConfig | ||
// }) | ||
// ) | ||
|
||
return config | ||
} | ||
// return config | ||
// } |
Oops, something went wrong.