-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cypressがソリューションスタイルのtsconfigに対応したら、 ルートのtsconfigのmoduleフィールドを削除する #1075
Labels
Comments
if (needsCypress) {
render('tsconfig/cypress')
// Cypress uses `ts-node` internally, which doesn't support solution-style tsconfig.
// So we have to set a dummy `compilerOptions` in the root tsconfig to make it work.
// I use `NodeNext` here instead of `ES2015` because that's what the actual environment is.
// (Cypress uses the ts-node/esm loader when `type: module` is specified in package.json.)
// @ts-ignore
rootTsConfig.compilerOptions = {
module: 'NodeNext'
} |
|
Cypressかts-nodeの対応がなされたら、
|
Cypressかts-nodeの対応がなされたら、 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
概要
create-vueのテンプレート作成時にE2EテストツールとしてCypressを選択した場合、
ルートの
tsconfig.json
にmodule:NodeNextが追加されるようになっている。というのも、Cypressが依存している
ts-node
が、ソリューションスタイルのtsconfigに対応していないからである。
詳細 / 機能詳細(オプション)
下記のissueの状況を確認する。
完了条件
The text was updated successfully, but these errors were encountered: