GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — hyperHTML/HELPERS.md at master · idimetrix/hyperHTML

Expand file tree

/

HELPERS.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
57 lines (41 loc) · 2.99 KB
/

HELPERS.md

Copy path

File metadata and controls

57 lines (41 loc) · 2.99 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

babel-plugin-remove-ungap

Remove the @ungap ponyfill modules from your bundle. This will decrease the size of your bundle if you are targeting modern browsers only or if your build already includes other polyfills. This has been tested with hyperHTML and lighterhtml bundles.

babel-plugin-template-html-minifier

Run html-minifier on hyperHTML templates.

babel-plugin-bare-import-rewrite

This can be used as an alternative to rollup-plugin-node-resolve, or can be used with certain node.js web servers to allow browsing live from source.

Known web server integrations:

  • fastify-babel plugin for fastify enables running any babel plugins, generally expects payload.filename as set by fastify-static
  • express-transform-bare-module-specifiers for express servers

vinyl-rollup

This module copies the output of rollup builds to a stream of vinyl-fs objects for gulp. In addition it optionally adds files from modules that were bundled into the stream. This makes it easy to ensure that LICENSE and package.json files associated with bundled modules are published on the web server without publishing node.js server-side dependencies to the web. This can also be used to copy complete modules if required for licensing or if bundled code requires additional assets that are not part of the bundled JS (images for example).

babel-plugin-bundled-import-meta

If node_modules/some-web-component/index.js uses import.meta.url to calculate the actual path to node_modules/some-web-components/image.png, rollup does not compensate. This babel plugin rewrites references to import.meta.url so it points to the original location where it is expected that the additional assets (images and such) can be found. This plugin works well with vinyl-rollup with copyModules: true.

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.