npm.io
0.19.1 • Published 8 months ago

@chialab/wds-plugin-legacy

Licence
MIT
Version
0.19.1
Deps
8
Size
12 kB
Vulns
0
Weekly
0

Wds Plugin Legacy

Transform esm modules served by the Web Dev Server into SystemJS modules for legacy browser compatibility.

Since we are moving away from the RNA cli, we are discontinuing the development of Web Dev Server plugins.

NPM

Install

npm i @chialab/wds-plugin-legacy -D
yarn add @chialab/wds-plugin-legacy -D
pnpm add @chialab/wds-plugin-legacy -D

Usage

import { legacyPlugin } from '@chialab/wds-plugin-legacy';
import { startDevServer } from '@web/dev-server';

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.

Keywords