JSPM

landingpageutil

0.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q34934F
  • License ISC

Alters Landing Page zip to public folder for viewability

Package Exports

  • landingpageutil

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (landingpageutil) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Landing Page Util

Archive Extration

  • Reads the archive and extracts it to a folder
  • updates the dependencies with new base to public folder
  • returns the updated html string

Offer Url Updation

  • updates offer url in each of the anchor having certain class

File Extraction strategy

  • Move archive to temp
  • move js files to js//fileName.js
  • similarly for css file
  • images and other assets are moved to assets//fileName.ext