Need private packages and team management tools?Check out npm Teams »

@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>

Keywords

none

Install

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

DownloadsWeekly Downloads

691

Version

1.0.0-beta.11

License

MIT

Unpacked Size

2.18 kB

Total Files

4

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar