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

create-symlink-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-symlink-webpack-plugin - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

dist/index.js

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

var outputPath = compiler.options.output.path;
var originPath = path.join(outputPath, option.origin);
// allow origin to have webpack '[hash]' placeholder
var originFileName = option.origin.replace('[hash]', compilation.hash);
var originPath = path.join(outputPath, originFileName);
var reportProgress = context && context.reportProgress;

@@ -39,0 +41,0 @@

{
"name": "create-symlink-webpack-plugin",
"version": "1.0.0",
"version": "1.0.1",
"description": "webpack 4 plugin to generate symlinks",

@@ -22,3 +22,9 @@ "main": "dist/index.js",

"author": "nystudio107",
"contributors": [
{
"name": "Luiza Pagliari",
"email": "lpagliari@gmail.com"
}
],
"license": "MIT"
}

@@ -13,3 +13,3 @@ ## How it works

{
origin: 'index.html',
origin: 'index-[hash].html',
symlink: '200.html',

@@ -32,3 +32,3 @@ },

{
origin: 'index.html',
origin: 'index-[hash].html',
symlink: '200.html',

@@ -35,0 +35,0 @@ },

@@ -24,3 +24,5 @@ const fs = require('fs');

const outputPath = compiler.options.output.path;
const originPath = path.join(outputPath, option.origin);
// allow origin to have webpack '[hash]' placeholder
const originFileName = option.origin.replace('[hash]', compilation.hash);
const originPath = path.join(outputPath, originFileName);
const reportProgress = context && context.reportProgress;

@@ -27,0 +29,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