Skip to content

Commit

Permalink
feat: export main as tsm
Browse files Browse the repository at this point in the history
  • Loading branch information
therealparmesh committed Apr 26, 2022
1 parent 7a2a5d5 commit ee6a564
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
Binary file added .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions lib/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { main as default } from "./main";
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "typed-scss-modules",
"version": "0.0.0",
"description": "TypeScript type definition generator for SCSS CSS Modules",
"main": "index.js",
"main": "dist/lib/index.js",
"author": "Spencer Miskoviak <smiskoviak@gmail.com>",
"license": "MIT",
"repository": {
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"declaration": true,
"outDir": "./dist",
"rootDirs": [".", "examples/output-folder/__generated__"]
}
Expand Down

0 comments on commit ee6a564

Please sign in to comment.