Closed
Description
Versions
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 6.0.0
Node: 8.11.1
OS: darwin x64
Angular: 6.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.6.0
@angular-devkit/build-angular 0.6.0
@angular-devkit/build-optimizer 0.6.0
@angular-devkit/core 0.6.0
@angular-devkit/schematics 0.6.0
@ngtools/webpack 6.0.0
@schematics/angular 0.6.0
@schematics/update 0.6.0
rxjs 6.1.0
typescript 2.7.2
webpack 4.6.0
Repro steps
https://github.com/glebmachine/angular6-no-sourcemaps
Steps to reproduce:
git clone git@github.com:glebmachine/angular6-no-sourcemaps.git
cd angular6-no-sourcemaps
yarn
ng run learn-angular6:server
P.S. Repro based on this story: https://github.com/angular/angular-cli/wiki/stories-universal-rendering
Architect server has "sourceMap": true
Observed behavior
I've run building server bundle with sourceMap:true, but no sourcemap produced
Desired behavior
I would like to have sourcemaps in server bundle like i have in browser bundle
Mention any other details that might be useful (optional)
I experiencing this issue about half a year.