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

Commit 0c49b50

Browse files
Foxandxsswardbell
authored andcommitted
docs(webpack): fix tests sourcemaps / clarify logo image download
closes #1399, 1395
1 parent fca9671 commit 0c49b50

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

public/docs/_examples/webpack/ts/config/webpack.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// #docregion
22
module.exports = {
3-
devtools: 'source-map',
3+
devtool: 'inline-source-map',
44

55
resolve: {
66
extensions: ['', '.ts', '.js']

public/docs/ts/latest/guide/webpack.jade

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -420,18 +420,21 @@ code-example(format="").
420420
src/app/app.component.spec.ts`
421421
)
422422

423+
424+
p.
425+
The <code>app.component.html</code> displays this downloadable Angular logo
426+
<a href="https://raw.githubusercontent.com/angular/angular.io/master/public/resources/images/logos/angular2/angular.png" target="_blank">
427+
<img src="https://raw.githubusercontent.com/angular/angular.io/master/public/resources/images/logos/angular2/angular.png" height="40px" title="download Angular logo"></a>.
428+
429+
423430
+makeTabs(
424431
`webpack/ts/src/vendor.ts,
425432
webpack/ts/src/polyfills.ts`,
426433
null,
427434
`src/vendor.ts,
428435
src/polyfills.ts`
429436
)
430-
431437
:marked
432-
The `app.component.html` displays the Angular logo image which we can download
433-
from [here](https://raw.githubusercontent.com/angular/angular.io/master/public/resources/images/logos/angular2/angular.png).
434-
435438
### Highlights:
436439

437440
* There are no &lt;script&gt; or &lt;link&gt; tags in the `index.html`.

0 commit comments

Comments
 (0)