From e007354a791761439ddccbe7edac8d0493e1ed18 Mon Sep 17 00:00:00 2001 From: Joshua Goldberg Date: Sat, 18 Nov 2017 15:26:21 -0800 Subject: [PATCH] Fixed camelCasing for webpack-manifest-plugin fileName It's listed as fileName in the docs. I think this was just a typo. --- types/webpack-manifest-plugin/index.d.ts | 2 +- .../webpack-manifest-plugin/webpack-manifest-plugin-tests.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/types/webpack-manifest-plugin/index.d.ts b/types/webpack-manifest-plugin/index.d.ts index 6c90731424..cb61e42c18 100644 --- a/types/webpack-manifest-plugin/index.d.ts +++ b/types/webpack-manifest-plugin/index.d.ts @@ -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. diff --git a/types/webpack-manifest-plugin/webpack-manifest-plugin-tests.ts b/types/webpack-manifest-plugin/webpack-manifest-plugin-tests.ts index 134e6825e6..3c34f052fa 100644 --- a/types/webpack-manifest-plugin/webpack-manifest-plugin-tests.ts +++ b/types/webpack-manifest-plugin/webpack-manifest-plugin-tests.ts @@ -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',