@shopify/html-webpack-liquid-asset-tags-plugin

1.0.0-beta.11 • Public • Published

@shopify/html-webpack-liquid-asset-tags-plugin

An HTML Webpack Plugin addon which swaps out generated <link> and <script> asset URLs with Shopify Liquid tags using the asset_url filter. For example:

<script type=text/javascript src="theme.js"></script>

gets transformed into

<script type=text/javascript src="{{ 'theme.js' | asset_url }}"></script>

/@shopify/html-webpack-liquid-asset-tags-plugin/

    Package Sidebar

    Install

    npm i @shopify/html-webpack-liquid-asset-tags-plugin

    Weekly Downloads

    155

    Version

    1.0.0-beta.11

    License

    MIT

    Unpacked Size

    2.18 kB

    Total Files

    4

    Last publish

    Collaborators

    • jaimie.rockburn
    • blittle
    • shopify-admin
    • maryharte
    • crisfmb
    • pmoloney89
    • netlohan
    • st999999
    • justin-irl
    • megswim
    • wcandillon
    • nathanpjf
    • shopify-dep
    • goodforonefare
    • lemonmade
    • vsumner
    • wizardlyhel
    • antoine.grant
    • tsov
    • andyw8-shopify
    • henrytao
    • hannachen
    • vividviolet
    • bpscott