mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-15 14:30:22 +00:00
19 lines
441 B
TypeScript
19 lines
441 B
TypeScript
import commonjs from 'rollup-plugin-commonjs';
|
|
|
|
// $ExpectType Plugin
|
|
commonjs();
|
|
|
|
// $ExpectType Plugin
|
|
commonjs({});
|
|
|
|
// $ExpectType Plugin
|
|
commonjs({
|
|
include: 'node_modules/**',
|
|
exclude: [ 'node_modules/foo/**', 'node_modules/bar/**' ],
|
|
extensions: [ '.js', '.coffee' ],
|
|
ignoreGlobal: false,
|
|
sourceMap: false,
|
|
namedExports: { './module.js': ['foo', 'bar' ] },
|
|
ignore: [ 'conditional-runtime-dependency' ],
|
|
});
|