Closed bahmutov closed 5 years ago
Yes, just need to pretty much duplicate this information in the plugin to provide https://webpack.js.org/configuration/resolve/#resolvealias
resolve: {
....
alias: {
'@utils': path.resolve(__dirname, '../e2e/cypress/integration/utils/')
}
}
wrote a blog post about it Using TypeScript aliases in Cypress tests
like this example https://dev.to/lars124/path-aliases-with-typescript-in-nodejs-4353
instead of this
you can use