rollup-plugin-memory

WebJar for rollup-plugin-memory

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

rollup-plugin-memory
Last Version

Last Version

3.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

rollup-plugin-memory
WebJar for rollup-plugin-memory
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/TrySound/rollup-plugin-memory

Download rollup-plugin-memory

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/rollup-plugin-memory/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>rollup-plugin-memory</artifactId>
    <version>3.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/rollup-plugin-memory/
implementation 'org.webjars.npm:rollup-plugin-memory:3.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/rollup-plugin-memory/
implementation ("org.webjars.npm:rollup-plugin-memory:3.0.0")
'org.webjars.npm:rollup-plugin-memory:jar:3.0.0'
<dependency org="org.webjars.npm" name="rollup-plugin-memory" rev="3.0.0">
  <artifact name="rollup-plugin-memory" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='rollup-plugin-memory', version='3.0.0')
)
libraryDependencies += "org.webjars.npm" % "rollup-plugin-memory" % "3.0.0"
[org.webjars.npm/rollup-plugin-memory "3.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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

Versions

Version
3.0.0