Nx: source-map-support not bundled into output file

Created on 7 May 2019  路  3Comments  路  Source: nrwl/nx

Expected Behavior

@nrwl/builders:node-build with option externalDependencies: none bundles all dependencies into one single file.

Current Behavior

The generated output file has everything bundled within except source-map-support. This seems to be introduced through this change:
https://github.com/nrwl/nx/pull/1204

Failure Information (for bugs)

Steps to Reproduce

  1. Create a new backend app
  2. Change the externalDependencies to none under the newly generated app
  3. run ng build <your-app-name-goes-here> --sourceMap=true --statsJson
  4. Open the generated file
  5. It contains at the first line require("source-map-support").install();
bug

Most helpful comment

I'll have a PR in soon.

All 3 comments

Seems to be a breaking change.

@BuckyMaler We should switch to the CLI form.

I'll have a PR in soon.

@FrozenPandaz should I target master or 7.8.x in the PR?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vimalraj-a picture vimalraj-a  路  3Comments

dereklin picture dereklin  路  3Comments

Svancara picture Svancara  路  3Comments

MichaelWarneke picture MichaelWarneke  路  3Comments

joelmuskwe picture joelmuskwe  路  3Comments