README
Wds Plugin Commonjs • A commonjs to esm transformer for the Web Dev Server.
⚠️ The development of this plugin has been suspended as it has been replaced by another plugin in the RNA ecosystem, but it can be a reference for other developers.
Install
$ npm i @chialab/wds-plugin-commonjs -D
$ yarn add @chialab/wds-plugin-commonjs -D
Usage
import { startDevServer } from '@web/dev-server';
import { commonjsPlugin } from '@chialab/wds-plugin-commonjs';
await startDevServer({
plugins: [
commonjsPlugin(),
],
});
License
Wds Plugin Commonjs is released under the MIT license.