Project

Profile

Help

Feature #5011

open

Bundle browser version in NPM package

Added by Daniel Naab over 3 years ago. Updated 3 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2021-05-28
Due date:
% Done:

0%

Estimated time:
Applies to JS Branch:
Fix Committed on JS Branch:
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

Is there any possibility of distributing the browser version of Saxon-JS in the NPM module?

For context, the package.json may include a browser attribute, that specifies a browser package that web bundlers may use when the library is imported. https://docs.npmjs.com/cli/v7/configuring-npm/package-json#browser

Additionally, a module attribute may specify an ESM module.

Including the browser bundle in the NPM package would ease dependency management, and facilitate library usage in applications with both node.js and browser-based components.

Please register to edit this issue

Also available in: Atom PDF Tracking page