mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Merge pull request #21617 from JoshuaKGoldberg/webpack-manifest-plugin-fileName
Fixed camelCasing for webpack-manifest-plugin fileName
This commit is contained in:
+1
-1
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user