This package has been deprecated
Author message:
This package has been deprecated and is no longer maintained. Please use @rollup/plugin-legacy.
rollup-plugin-legacy
1.0.0 • Public • Published rollup-plugin-legacy
Add export
declarations to legacy non-module scripts.
Installation
npm install --save-dev rollup-plugin-legacy
Usage
import legacy from 'rollup-plugin-legacy';
export default {
entry: 'src/main.js',
dest: 'bundle.js',
format: 'iife',
plugins: [
legacy({
'vendor/some-library.js': 'someLibrary',
'vendor/another-library.js': {
foo: 'anotherLib.foo',
bar: 'anotherLib.bar',
baz: 'anotherLib.baz'
}
})
]
}
License
MIT
Package Sidebar
Install
npm i rollup-plugin-legacy
Weekly Downloads