Fixed camelCasing for webpack-manifest-plugin fileName

It's listed as fileName in the docs. I think this was just a typo.
This commit is contained in:
Joshua Goldberg
2017-11-18 15:26:21 -08:00
parent 35272568c9
commit e007354a79
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ declare namespace WebpackManifestPlugin {
* The manifest filename in your output directory.
* Default: manifest.json
*/
filename?: string;
fileName?: string;
/**
* A path prefix for all file references. Useful for including your output path in the manifest.
@@ -3,7 +3,7 @@ import path = require('path');
import WebpackManifestPlugin = require('webpack-manifest-plugin');
const options: WebpackManifestPlugin.Options = {
filename: 'manifest.json',
fileName: 'manifest.json',
basePath: '/src/',
seed: {
name: 'Hello world',
@@ -28,7 +28,7 @@ const c: Configuration = {
plugins: [
new WebpackManifestPlugin(),
new WebpackManifestPlugin({
filename: 'my-manifest.json',
fileName: 'my-manifest.json',
basePath: '/app/',
seed: {
name: 'My Manifest',