Files
vue-cli/packages/@vue/cli-plugin-e2e-cypress/generator/index.js
Cédric Exbrayat e4e151b238 fix: remove webpack-preprocessor from cypress config (#2904)
* test: add cypress test for TS

* fix: remove webpack-preprocessor from cypress config

Removes the `@cypress/webpack-preprocessor` from the generated cypress configuration, as it leads to several issues regarding file watching, headless mode and TS support.

Fixes #2903
2018-11-12 14:44:46 +08:00

13 lines
235 B
JavaScript

module.exports = api => {
api.render('./template', {
hasTS: api.hasPlugin('typescript'),
hasESLint: api.hasPlugin('eslint')
})
api.extendPackage({
scripts: {
'test:e2e': 'vue-cli-service test:e2e'
}
})
}