Skip to content

can't make it hash the image files #9

@Webkadabra

Description

@Webkadabra

I'm kind of new to Laravel Mix, but I think doing all accrodingly to the docs, all files inside of /images folder has plain names, w\o\ hash being applied to them.

MY Mix config:

const convertToFileHash = require("laravel-mix-make-file-hash");

mix.setPublicPath('resources/dist');

mix.version().then(() => {
    
    convertToFileHash({
        publicPath: "resources/dist",
        manifestFilePath: "resources/dist/mix-manifest.json"
    });
});

HAs is successfully being added to CSS and JS files, and these changes also reflected in manifest json file. But I can't seem to make images work the same way. Please, advice!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions