Skip to content

Commit

Permalink
typescript target fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0xb4lint committed Jan 21, 2022
1 parent 9750ebf commit 5b0b26b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 24 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite-plugin-webfont-dl",
"version": "1.0.6",
"version": "1.0.7",
"description": "Vite plugin for downloading and injecting webfonts",
"keywords": [
"vite",
Expand Down
3 changes: 3 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ export default {
plugins: [
typescript(),
],
external: [
'axios',
],
};
29 changes: 6 additions & 23 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,19 @@
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"target": "es6",
"module": "es6",
"moduleResolution": "node",
"strict": true,
"jsx": "preserve",
"baseUrl": ".",
"experimentalDecorators": true,
"lib": [
"esnext",
"dom"
"es6"
],
"types": [
"node",
],
"plugins": [
{
"name": "@vuedx/typescript-plugin-vue"
}
],
"paths": {
"/@/*": [
"src/*"
]
}
]
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue",
"tests/**/*.ts",
"tests/**/*.tsx",
"src/*.ts",
"src/*.d.ts"
]
}

0 comments on commit 5b0b26b

Please sign in to comment.