This package has been deprecated

Author message:

Use https://github.com/rollup/rollup-plugin-virtual instead

rollup-plugin-memory

3.0.0 • Public • Published

rollup-plugin-memory Build Status

Deprecated: use rollup-plugin-virtual instead

Load entry from memory

Install

npm i rollup-plugin-memory -D

Usage

import { rollup } from 'rollup';
import memory from 'rollup-plugin-memory';
 
rollup({
    entry: {
        path: 'main.js',
        contents: 'console.log("some code");'
    },
    plugins: [
        memory()
    ]
});

path is a string like normal entry. contents is a string or Buffer with preloaded content.

License

MIT © Bogdan Chadkin

Package Sidebar

Install

npm i rollup-plugin-memory

Weekly Downloads

11,892

Version

3.0.0

License

MIT

Last publish

Collaborators

  • trysound