mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: cleanup
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
|
||||
import { nxCopyAssetsPlugin } from '@nx/vite/plugins/nx-copy-assets.plugin';
|
||||
import { fileURLToPath, URL } from 'node:url';
|
||||
|
||||
export default defineConfig({
|
||||
root: __dirname,
|
||||
@@ -13,6 +14,10 @@ export default defineConfig({
|
||||
// },
|
||||
resolve: {
|
||||
extensions: ['.ts', '.ios.ts'],
|
||||
alias: {
|
||||
// ‘~’ at import root → /absolute/path/to/src
|
||||
'~': fileURLToPath(new URL('./', import.meta.url)),
|
||||
},
|
||||
},
|
||||
test: {
|
||||
watch: false,
|
||||
|
||||
Reference in New Issue
Block a user