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.8.0 to 0.8.1

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.8.0",
"version": "0.8.1",
"files": [

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

@@ -57,9 +57,10 @@ var path = (require('path'));

const loadResult = TsconfigPaths.loadConfig(cwd);
const matchPath = TsconfigPaths.createMatchPath(
loadResult.absoluteBaseUrl,
loadResult.paths,
['main', 'module']
);
let matchPath;
if (isTs) {
const loadResult = TsconfigPaths.loadConfig(cwd);
matchPath = TsconfigPaths.createMatchPath(
loadResult.absoluteBaseUrl,
loadResult.paths,
['main', 'module']
);
plugins.push({

@@ -86,6 +87,8 @@ name: 'rollup-plugin-ts-paths',

}
let ret;
ret = matchPath(s, TsconfigPaths.ReadJsonSync, TsconfigPaths.FileExistsSync, extensions);
if (ret) {
return false;
if (isTs) {
let ret;
ret = matchPath(s, TsconfigPaths.ReadJsonSync, TsconfigPaths.FileExistsSync, extensions);
if (ret) {
return false;
}
}

@@ -92,0 +95,0 @@ return true;

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