]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
fix: import `process` instead of reading from the global variable
authorHaoqun Jiang <haoqunjiang@gmail.com>
Thu, 28 Dec 2023 15:18:18 +0000 (23:18 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Thu, 28 Dec 2023 15:18:18 +0000 (23:18 +0800)
Fixes https://github.com/vuejs/create-vue/issues/195#issuecomment-1421967970

In the long run we need to add https://github.com/playwright-community/eslint-plugin-playwright/
to the playwright setup too.

template/config/playwright/playwright.config.js

index ad20dabccb17dbd6b3434f80706cec805e8fe66f..92075cc1bb3a62c86294d6baec8bf636dad8ce1b 100644 (file)
@@ -1,3 +1,4 @@
+import process from 'node:process'
 import { defineConfig, devices } from '@playwright/test'
 
 /**