mirror of
https://github.com/alex8088/electron-vite.git
synced 2026-11-02 14:51:51 +08:00
chore: keep raw import tests local
This commit is contained in:
parent
67f59fab67
commit
23e149a88f
@ -43,7 +43,7 @@
|
||||
"scripts": {
|
||||
"format": "prettier --write .",
|
||||
"lint": "eslint --cache .",
|
||||
"typecheck": "tsc --noEmit && tsc --noEmit -p tests/types/tsconfig.json",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"build": "pnpm run lint && rollup -c rollup.config.ts --configPlugin typescript"
|
||||
},
|
||||
"simple-git-hooks": {
|
||||
|
||||
@ -1 +0,0 @@
|
||||
Raw text fixture.
|
||||
@ -1,7 +0,0 @@
|
||||
import 'electron-vite/node'
|
||||
import raw from './fixtures/text.txt?raw'
|
||||
|
||||
export const text: string = raw
|
||||
|
||||
// @ts-expect-error Raw imports return strings, not Node.js buffers.
|
||||
export const buffer: Buffer = raw
|
||||
@ -1,8 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"types": ["node"],
|
||||
"noUncheckedSideEffectImports": true
|
||||
},
|
||||
"include": ["./node-imports.ts"]
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user