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

rollup-plugin-web-worker-loader

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-web-worker-loader - npm Package Compare versions

Comparing version 1.4.1 to 1.5.0

2

package.json
{
"name": "rollup-plugin-web-worker-loader",
"version": "1.4.1",
"version": "1.5.0",
"description": "Rollup plugin to handle Web Workers",

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

@@ -64,2 +64,5 @@ # rollup-plugin-web-worker-loader

external?: string[], // *EXPERIMENTAL* override rollup resolution of external module IDs
// useful to inline external dependencies in a worker blob. Default: undefined
preserveSource?: boolean, // When inlined and this option is enabled, the full source code is included in the

@@ -66,0 +69,0 @@ // built file, otherwise it's embedded as a base64 string. Default: false

@@ -17,2 +17,3 @@ const options = require('./plugin/options');

forceInline: false,
external: undefined,
extensions: [ '.js' ],

@@ -19,0 +20,0 @@ outputFolder: '',

@@ -78,2 +78,5 @@ const fs = require('fs');

state.exclude.add(target);
if (config.external) {
inputOptions.external = config.external;
}
rollup.rollup(inputOptions).then(bundle => {

@@ -80,0 +83,0 @@ state.exclude.delete(id);

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