Skip to content

Commit

Permalink
Fix: Align filesizes
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto committed Aug 19, 2021
1 parent 433e1ef commit 00dcca6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Lib/helper.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ toArray(config.packages).forEach((entry) => {
const from = path.join(entryFolder, filename);
const to = conf.outdir.map((dir) => path.join(dir, `${baseFilename}.css`));
const sourcemap = conf.sourcemap;
// We add later 4 spaces to the style files to make them compatible with the map files
const length = to[0].length - (sourcemap ? 0 : 4);
const length = to[0].length;
styleFiles[path.resolve(from)] = {
from,
to,
Expand Down

0 comments on commit 00dcca6

Please sign in to comment.