Wds Plugin Legacy • Transform esm modules served by the Web Dev Server into SystemJS modules for legacy browser compatibility.
Install
npm i @chialab/wds-plugin-legacy -D
yarn add @chialab/wds-plugin-legacy -D
Usage
import { startDevServer } from '@web/dev-server';
import { legacyPlugin } from '@chialab/wds-plugin-legacy';
await startDevServer({
plugins: [
legacyPlugin(),
],
});
This is similar to the official legacy plugin, but with a different polyfill strategy.
License
Wds Plugin Legacy is released under the MIT license.