diff --git a/.eslintrc b/.eslintrc
index 3f0fbb4..8027176 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,6 +1,7 @@
{
"extends": "@antfu",
"rules": {
- "vue/one-component-per-file": "off"
+ "vue/one-component-per-file": "off",
+ "n/prefer-global/process": "off"
}
}
diff --git a/package.json b/package.json
index d1bd77b..02d919f 100644
--- a/package.json
+++ b/package.json
@@ -22,8 +22,8 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
- "require": "./dist/index.js",
- "import": "./dist/index.mjs"
+ "import": "./dist/index.mjs",
+ "require": "./dist/index.js"
}
},
"main": "./dist/index.js",
diff --git a/playground/src/pages/in-page.vue b/playground/src/pages/in-page.vue
index 5400acf..152b349 100644
--- a/playground/src/pages/in-page.vue
+++ b/playground/src/pages/in-page.vue
@@ -1,5 +1,6 @@
diff --git a/playground/vite.config.ts b/playground/vite.config.ts
index 9ccfbc6..b1c386d 100644
--- a/playground/vite.config.ts
+++ b/playground/vite.config.ts
@@ -1,6 +1,6 @@
///
-import path from 'path'
+import path from 'node:path'
import { defineConfig } from 'vite'
import Vue from '@vitejs/plugin-vue'
import Pages from 'vite-plugin-pages'
diff --git a/src/components/StarportCarrier.ts b/src/components/StarportCarrier.ts
index 167ba28..234d72b 100644
--- a/src/components/StarportCarrier.ts
+++ b/src/components/StarportCarrier.ts
@@ -26,4 +26,4 @@ export const StarportCarrier = defineComponent({
]
}
},
-}) as DefineComponent<{}>
+}) as DefineComponent>