marko-js / migrate-v3-widget

Migrates a Marko v3 widget to a v4 component.
MIT License
1 stars 1 forks source link


@marko/migrate-v3-widget
TypeScript Styled with prettier Build status Test Coverage

Migrates a Marko v3 widget to a v4 component.

Note: You probably want to use the marko migrate command instead of using this directly.

Installation

npm install @marko/migrate-v3-widget

Example

import migrate from "@marko/migrate-v3-widget";

migrate("./path-to-widget-file.js").then(code => {
  code; // Migrated code
});

Code of Conduct

This project adheres to the eBay Code of Conduct. By participating in this project you agree to abide by its terms.