CSS watch tasks writing sourcemaps twice

Created on 31 January 2024, 5 months ago
Updated 6 February 2024, 5 months ago

Problem/Motivation

When running the watch command, sourcemaps for styles are written twice. In the case of component styles, this also generates a set of duplicate build files in /dist/components while watching.

Steps to reproduce

run npm run watch
Note the generate `/dist/components` folder and the two sourcemaps appended to the end of each file.

Proposed resolution

Piping the css through sourcemaps.write() is unnecessary and can be removed. Sourcemaps are already being written by the sourcemaps: true option in the gulp.dest command.

πŸ› Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States pixelwhip

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024