docs(webpack): fix tests sourcemaps / clarify logo image download

closes #1399, 1395
This commit is contained in:
Foxandxss 2016-05-15 13:22:29 +02:00 committed by Ward Bell
parent fca9671680
commit 0c49b50cbe
2 changed files with 8 additions and 5 deletions

View File

@ -1,6 +1,6 @@
// #docregion // #docregion
module.exports = { module.exports = {
devtools: 'source-map', devtool: 'inline-source-map',
resolve: { resolve: {
extensions: ['', '.ts', '.js'] extensions: ['', '.ts', '.js']

View File

@ -420,6 +420,13 @@ code-example(format="").
src/app/app.component.spec.ts` src/app/app.component.spec.ts`
) )
p.
The <code>app.component.html</code> displays this downloadable Angular logo
<a href="https://raw.githubusercontent.com/angular/angular.io/master/public/resources/images/logos/angular2/angular.png" target="_blank">
<img src="https://raw.githubusercontent.com/angular/angular.io/master/public/resources/images/logos/angular2/angular.png" height="40px" title="download Angular logo"></a>.
+makeTabs( +makeTabs(
`webpack/ts/src/vendor.ts, `webpack/ts/src/vendor.ts,
webpack/ts/src/polyfills.ts`, webpack/ts/src/polyfills.ts`,
@ -427,11 +434,7 @@ code-example(format="").
`src/vendor.ts, `src/vendor.ts,
src/polyfills.ts` src/polyfills.ts`
) )
:marked :marked
The `app.component.html` displays the Angular logo image which we can download
from [here](https://raw.githubusercontent.com/angular/angular.io/master/public/resources/images/logos/angular2/angular.png).
### Highlights: ### Highlights:
* There are no &lt;script&gt; or &lt;link&gt; tags in the `index.html`. * There are no &lt;script&gt; or &lt;link&gt; tags in the `index.html`.