From 0c49b50cbe0b56f6e0dd2265814eae96dec30bc6 Mon Sep 17 00:00:00 2001 From: Foxandxss Date: Sun, 15 May 2016 13:22:29 +0200 Subject: [PATCH] docs(webpack): fix tests sourcemaps / clarify logo image download closes #1399, 1395 --- .../docs/_examples/webpack/ts/config/webpack.test.js | 2 +- public/docs/ts/latest/guide/webpack.jade | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/public/docs/_examples/webpack/ts/config/webpack.test.js b/public/docs/_examples/webpack/ts/config/webpack.test.js index b38ad459bd..5c24d4e81e 100644 --- a/public/docs/_examples/webpack/ts/config/webpack.test.js +++ b/public/docs/_examples/webpack/ts/config/webpack.test.js @@ -1,6 +1,6 @@ // #docregion module.exports = { - devtools: 'source-map', + devtool: 'inline-source-map', resolve: { extensions: ['', '.ts', '.js'] diff --git a/public/docs/ts/latest/guide/webpack.jade b/public/docs/ts/latest/guide/webpack.jade index 5c9bedafb5..e931c6b0d7 100644 --- a/public/docs/ts/latest/guide/webpack.jade +++ b/public/docs/ts/latest/guide/webpack.jade @@ -420,6 +420,13 @@ code-example(format=""). src/app/app.component.spec.ts` ) + +p. + The app.component.html displays this downloadable Angular logo + + . + + +makeTabs( `webpack/ts/src/vendor.ts, webpack/ts/src/polyfills.ts`, @@ -427,11 +434,7 @@ code-example(format=""). `src/vendor.ts, src/polyfills.ts` ) - :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: * There are no <script> or <link> tags in the `index.html`.