Home

Issue: 1383

Absolute paths of working directory in build output scripts

[issue link]

Hi,

How can I hide my machine working directory in the build output scripts?

After I run nuxt build,
In my outputs e.g. 5.nuxt.bundle.3fe7b8ff93ec0714c5d3.js I see source maps for inlined styles and the absolute paths of my current working machine:

  ...
  {version:3,sources:["C:/frontend/components/detail/Schedule.vue"],names:[],mappings:"AACA,wBACE,iBAAkB,
  ...

I don’t want it to be exposed in production.
I’m using the build.extractCSS config set to true.

Regards,
Robert

This question is available on Nuxt.js community (#c1228)