Src and node_modules slip into prod build?

Hey guys, I was checking our “prod” build for Ionic 3 built PWA today and noticed the following in the devtools:


Somehow src files and other node_modules content got into www folder that was built using ‘npm run build --prod’ command.

I double checked our package.json and tsconfig.json and found nothing that would stand out:

So I wonder whats wrong and why would typescript make it into webpack built js files;/ ?

  "compilerOptions": {
    "allowSyntheticDefaultImports": true,
    "declaration": false,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "noUnusedParameters": false,
    "noUnusedLocals": false,
    "strict": false,
    "lib": [
    "module": "es2015",
    "moduleResolution": "node",
    "sourceMap": true,
    "target": "es5",
    "baseUrl": "./src"
  "include": [
  "exclude": [
  "compileOnSave": false,
  "atom": {
    "rewriteTsconfig": false

Through some thinking I guessed that its the sourceMaps;) so I will try to turn that off for prod build…