From 8779cbaf8b44932a42eb88cbe7ea3e3e19054679 Mon Sep 17 00:00:00 2001 From: Rory King Date: Mon, 30 Mar 2020 23:35:46 +0100 Subject: [PATCH] [@types/webpack] Add `system` libraryTarget (#43491) --- types/webpack/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/webpack/index.d.ts b/types/webpack/index.d.ts index e92137e1fc..8c1e148c8f 100644 --- a/types/webpack/index.d.ts +++ b/types/webpack/index.d.ts @@ -225,6 +225,7 @@ declare namespace webpack { * - "window" - Assign to window * - "assign" - Assign to a global variable * - "jsonp" - Generate Webpack JSONP module + * - "system" - Generate a SystemJS module */ libraryTarget?: LibraryTarget; /** Configure which module or modules will be exposed via the `libraryTarget` */ @@ -259,7 +260,7 @@ declare namespace webpack { futureEmitAssets?: boolean; } - type LibraryTarget = 'var' | 'assign' | 'this' | 'window' | 'global' | 'commonjs' | 'commonjs2' | 'amd' | 'umd' | 'jsonp'; + type LibraryTarget = 'var' | 'assign' | 'this' | 'window' | 'global' | 'commonjs' | 'commonjs2' | 'amd' | 'umd' | 'jsonp' | 'system'; type AuxiliaryCommentObject = { [P in LibraryTarget]: string };