Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@enhance/arc-plugin-rollup

Package Overview
Dependencies
Maintainers
6
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enhance/arc-plugin-rollup - npm Package Compare versions

Comparing version 1.0.2 to 1.0.4

2

package.json
{
"name": "@enhance/arc-plugin-rollup",
"version": "1.0.2",
"version": "1.0.4",
"description": "Use rollup.js to bundle pages for the browser in your Enhance project",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -6,1 +6,10 @@ # arc-plugin-rollup

`npm i @enhance/arc-plugin-rollup`
Add the plugin to your `arc` file
```
@plugins
enhance/arc-plugin-rollup
```
Any file added to `/app/browser` will be bundled to `/public/pages`

@@ -51,4 +51,8 @@ const { join } = require('path')

async watcher ({ inventory }) {
await build(inventory.inv)
async watcher ({ filename, inventory }) {
if (filename.indexOf('/app/browser/') > -1 ||
filename.indexOf('/app/pages/') > -1 ||
filename.indexOf('/app/elements/') > -1) {
await build(inventory.inv)
}
}

@@ -55,0 +59,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc