A Rollup plugin that converts JavaScript modules using the 'mt' module format (likely a custom or legacy format) to AMD (Asynchronous Module Definition) format. Version 2.2.0 is current; there is no public information on release cadence or known alternatives. This plugin is aimed at users transitioning from a specific module system to AMD for use with RequireJS or similar loaders. The package has low adoption and minimal documentation, indicating it may be niche or internal.
npm install rollup-plugin-mt2amdNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage of rollup-plugin-mt2amd to convert mt-format modules to AMD output using Rollup.
Inspect the package's index.js or TypeScript definitions to determine correct import syntax.
Review the plugin's source code on GitHub to identify accepted options.
Ensure your mt modules conform to the expected format by examining the plugin's transformation logic.
Use mt2amd conversion as a one-time migration step or look for similar tools.
Run 'npm install rollup-plugin-mt2amd' and ensure using correct import.
Check the package's export: try 'import { mt2amd } from ...' or 'import * as mt2amd from ...'.Verify that your module uses the exact mt syntax the plugin expects; refer to plugin source for specifics.