Skip to content

Commit

Permalink
Tell TypeScript to not go through dist to load the package itself
Browse files Browse the repository at this point in the history
To make local builds work
  • Loading branch information
marijnh committed Dec 29, 2020
1 parent 2e42747 commit a4ca740
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
/test
/node_modules
.tern-*
rollup.config.js
tsconfig.json
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
"type": "git",
"url": "https://github.com/codemirror/theme-one-dark.git"
}
}
}
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
"newLine": "lf",
"declaration": true,
"declarationMap": true,
"moduleResolution": "node"
"moduleResolution": "node",
"paths": {
"@codemirror/theme-one-dark": ["./src/one-dark.ts"]
}
},
"include": ["src/*.ts", "test/*.ts"]
}

0 comments on commit a4ca740

Please sign in to comment.