Skip to content

Commit e73cf27

Browse files
committed
Refactored.
1 parent 5457414 commit e73cf27

4 files changed

Lines changed: 14 additions & 6 deletions

File tree

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
node_modules
2-
dist
32
*.log
4-
.idea
3+
.idea
4+
5+
*.js
6+
*.d.ts

.npmignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
*.log
3+
.idea
4+
5+
*.ts
6+
!*.d.ts

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "vite-plugin-ejs",
33
"version": "1.4.2",
44
"description": "Use Ejs in your entrypoint i.e index.html",
5-
"main": "dist/index.js",
6-
"types": "dist/index.d.ts",
5+
"main": "index.js",
6+
"types": "index.d.ts",
77
"repository": "https://github.com/trapcodeio/vite-plugin-ejs.git",
88
"author": "trapcodeio",
99
"license": "MIT",

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
/* Specify library files to be included in the compilation. */
1414
"declaration": true,
1515
/* Generates corresponding '.d.ts' file. */
16-
"declarationDir": "./dist",
16+
"declarationDir": "./",
1717
/* Redirect output structure to the directory. */
18-
"outDir": "./dist",
18+
"outDir": "./",
1919
/* Redirect output structure to the directory. */
2020
/* Strict Type-Checking Options */
2121
"strict": true,

0 commit comments

Comments
 (0)