Skip to content

Commit

Permalink
fix: migrate to tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
Sasan Farrokh committed Jul 1, 2021
1 parent c5bdeb8 commit 7d9f768
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
},
"homepage": "https://github.com/SasanFarrokh/vite-plugin-multi-device/tree/master/#readme",
"scripts": {
"dev": "tsup src/index.ts --external fsevents,express,vite --watch",
"build": "tsup src/index.ts --external debug --external fsevents --dts",
"dev": "tsc --watch",
"build": "tsc --declaration",
"lint": "eslint --fix .",
"test": "jest",
"test:watch": "jest --watch",
Expand Down
2 changes: 1 addition & 1 deletion src/multiDevicePlugin.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Plugin, ResolvedConfig } from 'vite';
import { Plugin, ResolvedConfig } from 'vite';
import * as fs from 'fs';
import makeDebug from 'debug';
import replacePlugin from '@rollup/plugin-replace';
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"module": "commonjs",
"lib": ["ESNext"],
"noImplicitAny": false
}
},
"include": ["src"]
}

0 comments on commit 7d9f768

Please sign in to comment.