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

broccoli-webpack-cached

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-webpack-cached - npm Package Compare versions

Comparing version 0.0.1 to 0.1.1

prevent-resolve-symlink-plugin.js

12

index.js

@@ -8,3 +8,5 @@ 'use strict';

var PreventResolveSymlinkPlugin = require('./prevent-resolve-symlink-plugin');
function WebpackFilter(inputNode, options) {

@@ -40,2 +42,12 @@ if (!(this instanceof WebpackFilter)) return new WebpackFilter(inputNode, options);

// Prevent Webpack's ResultSymlinkPlugin from breaking relative paths in symlinked
// modules (a common problem with Broccoli's highly symlinked output trees).
// This is on by default, but can be disabled.
if (this.options.preventSymlinkResolution === true || this.options.preventSymlinkResolution === undefined) {
this.options.plugins = this.options.plugins || [];
this.options.plugins.push(
new webpack.ResolverPlugin([PreventResolveSymlinkPlugin])
);
}
return webpack(this.options);

@@ -42,0 +54,0 @@ }

5

package.json
{
"name": "broccoli-webpack-cached",
"version": "0.0.1",
"version": "0.1.1",
"description": "Yet another webpack plugin for Broccoli. This one relies on webpack's caching for speed, but does it in a way that works well as a broccoli plugin (symlinking from the webpack cache to the output folder as needed).",

@@ -13,3 +13,4 @@ "main": "index.js",

"devDependencies": {},
"author": "tfinley@hubspot.com"
"author": "tfinley@hubspot.com",
"repository" : "timmfin/broccoli-webpack-cached"
}
README.markdown

Sorry, the diff of this file is not supported yet

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