A Rollup plugin to transform code with MetaScript.
npm install --save-dev rollup-plugin-metascript
import rollupPluginMetascript from "rollup-plugin-metascript";
export default {
...
plugins: [
rollupPluginMetascript({
scope: {
// define your scope here
}
}),
...
],
}