From 88b938dda196053375c8dfbbdda166501fb4b806 Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Fri, 21 Jun 2019 20:31:11 +0200 Subject: [PATCH] Add missing docs for strictDeprecations (#2956) --- bin/src/help.md | 1 + docs/01-command-line-reference.md | 2 ++ docs/02-javascript-api.md | 1 + 3 files changed, 4 insertions(+) diff --git a/bin/src/help.md b/bin/src/help.md index 6258c36649b..44045eb9743 100644 --- a/bin/src/help.md +++ b/bin/src/help.md @@ -48,6 +48,7 @@ Basic options: --silent Don't print warnings --sourcemapExcludeSources Do not include source code in source maps --sourcemapFile Specify bundle position for source maps +--strictDeprecations Throw errors for deprecated features --no-treeshake Disable tree-shaking optimisations --no-treeshake.annotations Ignore pure call annotations --no-treeshake.propertyReadSideEffects Ignore property access side-effects diff --git a/docs/01-command-line-reference.md b/docs/01-command-line-reference.md index 742e158d30a..548554f3b72 100755 --- a/docs/01-command-line-reference.md +++ b/docs/01-command-line-reference.md @@ -41,6 +41,7 @@ export default { // can be an array (for multiple inputs) manualChunks, onwarn, preserveModules, + strictDeprecations, // danger zone acorn, @@ -230,6 +231,7 @@ Many options have command line equivalents. In those cases, any arguments passed --silent Don't print warnings --sourcemapExcludeSources Do not include source code in source maps --sourcemapFile Specify bundle position for source maps +--strictDeprecations Throw errors for deprecated features --no-treeshake Disable tree-shaking optimisations --no-treeshake.annotations Ignore pure call annotations --no-treeshake.propertyReadSideEffects Ignore property access side-effects diff --git a/docs/02-javascript-api.md b/docs/02-javascript-api.md index 4cb6a3f85e9..aa70f6707ab 100755 --- a/docs/02-javascript-api.md +++ b/docs/02-javascript-api.md @@ -83,6 +83,7 @@ const inputOptions = { manualChunks, onwarn, preserveModules, + strictDeprecations, // danger zone acorn,