mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-28 18:19:02 -06:00
* 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
13 lines
235 B
JavaScript
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'
|
|
}
|
|
})
|
|
}
|