Skip to content

Feature request: Add WebView plugin as optional feature to the javascript-tracker #1455

@lari

Description

@lari

Is your feature request related to a problem? Please describe.

We can't include the WebView plugin on our site so that it would be included in the same javascript bundle. Instead, we need to add it as a separate javascript file.

Describe the solution you'd like

If I add export const webView = true; to tracker.config.ts and build the project with npx @microsoft/rush build, the WebView plugin would be included in the resulting trackers/javascript-tracker/dist/sp.js file.

Describe alternatives you've considered

  • Loading the plugin separately to the site.
  • Forking this repository and adding it myself.

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:enhancementNew features or improvements to existing features.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions