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

pika-plugin-build-web-babel

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pika-plugin-build-web-babel - npm Package Compare versions

Comparing version 0.7.6 to 0.7.7

2

package.json
{
"name": "pika-plugin-build-web-babel",
"description": "A @pika/pack plugin: Adds an babel compiled ESM distribution to your package",
"version": "0.7.6",
"version": "0.7.7",
"files": [

@@ -6,0 +6,0 @@ "src/"

@@ -43,3 +43,2 @@ var path = (require('path'));

}) {
const pkg = require(path.join(cwd, 'package.json'));
const writeToWeb = path.join(out, 'dist-web', 'index.js');

@@ -50,5 +49,8 @@ const extensions = options.extensions || defaultExtensions;

let input = path.join(src, 'index');
const result = await rollup.rollup({
input,
external: Object.keys(pkg.dependencies || {}),
external: function(s) {
return !(s.startsWith('/') || s.startsWith('./') || s.startsWith('../'));
},
plugins: [

@@ -55,0 +57,0 @@ resolve({

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