Skip to content

Commit

Permalink
Include sourcemap with inline sources
Browse files Browse the repository at this point in the history
  • Loading branch information
dphilipson committed May 30, 2017
1 parent 93e3726 commit 99d6860
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ Mutates the reducer such that it applies `handler` when passed actions matching

Like `.case()`, except that `handler` receives the entire action as its second argument rather
than just the payload. This is useful if you want to read other properties of the action, such as
`meta` or `error`. For an example, see [Usage](#usage).
`meta` or `error`, or if you want to pass the entire action unmodified to some other function. For
an example, see [Usage](#usage).

#### `.build()`

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"lint": "tslint --project .",
"prepublish": "yarn run build",
"test": "yarn run lint && tsc --noEmit && yarn run jest",
"watch": "yarn run clean && tsc --watch --sourceMap"
"watch": "yarn run clean && tsc --watch"
},
"devDependencies": {
"@types/jest": "^16.0.4",
Expand Down
2 changes: 2 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"compilerOptions": {
"declaration": true,
"inlineSources": true,
"module": "commonjs",
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
Expand All @@ -10,6 +11,7 @@
"noUnusedParameters": true,
"outDir": "dist/",
"skipLibCheck": true,
"sourceMap": true,
"strictNullChecks": true,
"target": "es5"
},
Expand Down

0 comments on commit 99d6860

Please sign in to comment.