Skip to content

Latest commit

 

History

History
 
 

wds-plugin-commonjs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Wds Plugin Commonjs • A commonjs to esm transformer for the Web Dev Server.

NPM


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.