Skip to content

in asset add "css/mystle/whatsapp.css?v=444" this source is considering as script. #28

@sivanagak

Description

@sivanagak

IN AssetContainer.php

$type = (pathinfo($source, PATHINFO_EXTENSION) == 'css') ? 'style' : 'script';

This line is causing issue if i pass version in source.

Is there anyway to add versioning to asstes in Facuz.

Is there anyway i can achive versioning like below.
$asset->themePath()->add([
['style', 'css/style.css?v=6666666'],
['script', 'js/script.js?v=888888']
]);

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