Skip to content
This repository was archived by the owner on Oct 28, 2022. It is now read-only.
This repository was archived by the owner on Oct 28, 2022. It is now read-only.

hash changes on every build #19

Open

Description

@iilei

I am using the following config:

module.exports = {
  files: [
    'icon/*.svg',
  ],
  fontName: 'epsumicons',
  classPrefix: 'epicn-',
  baseClass: 'epicn',
  fixedWidth: true,
};

on every build ( regardless of prod or dev) I get new hashes for the fonts, even when there are no changes at all.

Activity

  1. figalex commented on Jul 23, 2016

    @figalex

    I'm still having this behaviour, is there a way to prevent it?

  2. Kronuz commented on Feb 1, 2017

    @Kronuz

    You simply have to pass options so ttf timestamp is never updated (only ttf needs this):

    {
        "ttf": {
            "ts": 0
        }
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions