Skip to content

Commit

Permalink
Emit CommonJS instead of ESM (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
FloEdelmann committed Apr 29, 2022
1 parent 6914bc2 commit b54a921
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"version": "1.0.0",
"description": "Lightweight TypeScript-first Vue prop type definitions",
"main": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
// "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */

/* Modules */
"module": "es2020", /* Specify what module code is generated. */
"module": "commonjs", /* Specify what module code is generated. */
// "rootDir": "./", /* Specify the root folder within your source files. */
"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
Expand Down

0 comments on commit b54a921

Please sign in to comment.