Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@atlassian/webresource-vite-plugin

atlassianlabs37Apache-2.00.2.1TypeScript support: included

Auto-generates web-resource definitions from your vite-built code, for usage in an Atlassian product or plugin.

atlassian, vite, vite-plugin, wrm, server, web, webresource, resource, manager

readme

Atlassian Web-Resource Vite Plugin

Early alpha development

This plugin is experimental work and not supported by Atlassian.

Auto-generates web-resource definitions from your Vite code, for usage in an Atlassian product or plugin.

Features compatible with the webpack plugin:

  • WRM modules generation (modules.xml)
    • Single bundled web resources
    • Dependencies (basic dependency, shared code)
    • Resources (parameters)
  • FE Manifest generation (.intermediary.json)

Not supported (yet?):

  • WRM modules
    • Transformations (like i18n and less)
    • Provided modules
    • Async chunks (not tested)
    • Data providers
    • Deprecations
  • Hot-reloading

Issue tracker

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.2.0 (2024-07-19)

Features

  • using proper manifest name for vite (2ffea5e)

0.1.1 (2024-07-18)

Note: Version bump only for package @atlassian/webresource-vite-plugin

0.1.0 (2024-07-16)

Features

  • Initial public release for Vite WRM plugin (226226d)