assets-webpack-plugin
Advanced tools
Comparing version 6.0.1 to 6.0.2
@@ -8,2 +8,5 @@ # Change Log | ||
## 6.0.2 - 2020-10-16 | ||
* Closes [#279](https://github.com/ztoben/assets-webpack-plugin/issues/279) | ||
## 6.0.1 - 2020-10-15 | ||
@@ -10,0 +13,0 @@ * Initial webpack 5 support |
@@ -102,4 +102,2 @@ 'use strict'; | ||
console.log(asset); | ||
if (isHMRUpdate(options, asset) || isSourceMap(options, asset) || !chunkName && seenAssets[asset]) { | ||
@@ -106,0 +104,0 @@ return typeMap; |
@@ -102,4 +102,2 @@ const fs = require('fs') | ||
console.log(asset) | ||
if (isHMRUpdate(options, asset) || isSourceMap(options, asset) || (!chunkName && seenAssets[asset])) { | ||
@@ -106,0 +104,0 @@ return typeMap |
{ | ||
"name": "assets-webpack-plugin", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"description": "Emits a json file with assets paths", | ||
@@ -48,3 +48,3 @@ "main": "dist/index.js", | ||
"style-loader": "2.0.0", | ||
"webpack": "5.1.0" | ||
"webpack": "5.1.2" | ||
}, | ||
@@ -51,0 +51,0 @@ "dependencies": { |
@@ -6,3 +6,2 @@ # assets-webpack-plugin | ||
[![Build status](https://ci.appveyor.com/api/projects/status/sbchndv12vk45mo3?svg=true)](https://ci.appveyor.com/project/ztoben/assets-webpack-plugin) | ||
[![NPM](https://nodei.co/npm/assets-webpack-plugin.png)](https://www.npmjs.com/package/assets-webpack-plugin) | ||
@@ -13,5 +12,5 @@ Webpack plugin that emits a json file with assets paths. | ||
* [Install](#install) | ||
* [Why Is This Useful?](#why-is-this-useful) | ||
* [Example output:](#example-output) | ||
* [Install](#install) | ||
* [Configuration](#configuration) | ||
@@ -21,2 +20,3 @@ * [Options](#options) | ||
* [`fullPath`](#fullpath) | ||
* [`removeFullPathAutoPrefix`](#removefullpathautoprefix) | ||
* [`includeManifest`](#includemanifest) | ||
@@ -30,3 +30,3 @@ * [`manifestFirst`](#manifestfirst) | ||
* [`metadata`](#metadata) | ||
* [`includeAllFileTypes`](#includeallfiletypes) | ||
* [`includeAllFileTypes`](#includeallfileTtypes) | ||
* [`fileTypes`](#filetypes) | ||
@@ -36,2 +36,3 @@ * [`keepInMemory`](#keepinmemory) | ||
* [`entrypoints`](#entrypoints) | ||
* [`includeFilesWithoutChunk`](#includefileswithoutchunk) | ||
* [Using in multi-compiler mode](#using-in-multi-compiler-mode) | ||
@@ -42,2 +43,18 @@ * [Using this with Rails](#using-this-with-rails) | ||
## Install | ||
⚠️ Starting with version 6, this plugin works with Webpack 5+. | ||
If you are working with an older version of Webpack, you can use the most recent 5.x.x release (`5.1.2`). | ||
```sh | ||
npm install assets-webpack-plugin --save-dev | ||
``` | ||
If you're using Webpack 4 or below: | ||
```sh | ||
npm install webpack-assets-manifest@5.1.2 --save-dev | ||
``` | ||
## Why Is This Useful? | ||
@@ -95,18 +112,2 @@ | ||
## Install | ||
⚠️ Starting with version 6, this plugin works with Webpack 5+. | ||
If you are working with an older version of Webpack, you can use the most recent 5.x.x release (`5.1.2`). | ||
```sh | ||
npm install assets-webpack-plugin --save-dev | ||
``` | ||
If you're using Webpack 4 or below: | ||
```sh | ||
npm install webpack-assets-manifest@5.1.2 --save-dev | ||
``` | ||
## Configuration | ||
@@ -113,0 +114,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40666
421
599