Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 7f46192

Browse files
committed
* Don't package .map files into final NPM package
* Support sourceMaps in tsconfig * Support launch file for debugging * show lib directory
1 parent 614c682 commit 7f46192

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

.npmignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ node_modules/
33
*.swp
44
*.swo
55
.DS_Store
6-
*.log
6+
*.map
77
log.txt
88

99
test-workspace

.vscode/launch.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "attach",
7+
"name": "Debug Styled Plugin",
8+
"skipFiles": ["<node_internals>/**"],
9+
"outFiles": ["${workspaceFolder}/lib/**/*.js"],
10+
"port": 9229
11+
}
12+
]
13+
}

.vscode/settings.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"**/.hg": true,
66
"**/CVS": true,
77
"**/.DS_Store": true,
8-
"lib": true,
98
"**/*.log": true
109
}
11-
}
10+
}

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"outDir": "lib",
66
"rootDir": "src",
77
"strict": true,
8-
"declaration": true
8+
"declaration": true,
9+
"sourceMap": true
910
},
1011
"exclude": ["lib", "e2e", "node_modules", "test-workspace"]
1112
}

0 commit comments

Comments
 (0)