rollup-plugin-rebase
Advanced tools
Comparing version 0.12.1 to 0.12.2
@@ -1,2 +0,2 @@ | ||
/*! rollup-plugin-rebase v0.12.1 by Sebastian Werner <s.werner@sebastian-software.de> */ | ||
/*! rollup-plugin-rebase v0.12.2 by Sebastian Werner <s.werner@sebastian-software.de> */ | ||
'use strict'; | ||
@@ -110,3 +110,3 @@ | ||
fileHash = destId.slice(0, -fileExt.length); | ||
destFilename = prependName ? fileName + '_' + destId : destId; | ||
destFilename = prependName ? fileName + "_" + destId : destId; | ||
fileDest = path.resolve(outputFolder, destFilename); | ||
@@ -113,0 +113,0 @@ |
@@ -1,2 +0,2 @@ | ||
/*! rollup-plugin-rebase v0.12.1 by Sebastian Werner <s.werner@sebastian-software.de> */ | ||
/*! rollup-plugin-rebase v0.12.2 by Sebastian Werner <s.werner@sebastian-software.de> */ | ||
import nodentRuntime from 'nodent-runtime'; | ||
@@ -106,3 +106,3 @@ import path from 'path'; | ||
fileHash = destId.slice(0, -fileExt.length); | ||
destFilename = prependName ? fileName + '_' + destId : destId; | ||
destFilename = prependName ? fileName + "_" + destId : destId; | ||
fileDest = path.resolve(outputFolder, destFilename); | ||
@@ -109,0 +109,0 @@ |
{ | ||
"name": "rollup-plugin-rebase", | ||
"version": "0.12.1", | ||
"version": "0.12.2", | ||
"description": "The Rollup Rebase Plugin copies static assets as required from your JavaScript code to the destination folder and adjusts the references in there to point to the new location.", | ||
@@ -21,2 +21,5 @@ "keywords": [ | ||
"module": "lib/node.esmodule.js", | ||
"files": [ | ||
"lib/" | ||
], | ||
"scripts": { | ||
@@ -26,4 +29,4 @@ "release": "release-it --github.release --npm.publish --non-interactive", | ||
"release:major": "release-it --github.release --npm.publish --non-interactive --increment major", | ||
"test": "prepublish && jest", | ||
"prepare": "prepublish" | ||
"test": "npm run prepare && jest", | ||
"prepare": "rimraf lib && prepublish" | ||
}, | ||
@@ -55,3 +58,3 @@ "repository": { | ||
"postcss-scss": "^1.0.2", | ||
"postcss-smart-asset": "^0.5.0", | ||
"postcss-smart-asset": "^0.5.1", | ||
"rollup-pluginutils": "^2.0.1", | ||
@@ -61,9 +64,9 @@ "sugarss": "^1.0.1" | ||
"devDependencies": { | ||
"babel-preset-edge": "^1.3.7", | ||
"babel-preset-edge": "^1.4.0", | ||
"eslint-config-readable": "^0.1.2", | ||
"jest": "^21.2.1", | ||
"prepublish": "^1.5.2", | ||
"readable-code": "^3.4.15", | ||
"prepublish": "^1.5.4", | ||
"rimraf": "^2.6.2", | ||
"rollup": "^0.51.8" | ||
"rollup": "^0.52.0" | ||
} | ||
} |
# Rollup Rebase <br/>[![Sponsored by][sponsor-img]][sponsor] [![Version][npm-version-img]][npm] [![Downloads][npm-downloads-img]][npm] [![Build Status Unix][travis-img]][travis] [![Build Status Windows][appveyor-img]][appveyor] [![Dependencies][deps-img]][deps] | ||
<a target='_blank' rel='nofollow' href='https://app.codesponsor.io/link/Nehv39FW5U4NHEn7axuGx4CE/sebastian-software/rollup-plugin-rebase'> <img alt='Sponsor' width='888' height='68' src='https://app.codesponsor.io/embed/Nehv39FW5U4NHEn7axuGx4CE/sebastian-software/rollup-plugin-rebase.svg' /></a> | ||
The Rollup Rebase Plugin copies static assets as required from your JavaScript code to the destination folder and adjusts the references in there to point to the new location. | ||
@@ -6,0 +4,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
2
46121
7
270
88
Updatedpostcss-smart-asset@^0.5.1