From 534d073095d2945f94c924b7b0ec9ae2cbaf7160 Mon Sep 17 00:00:00 2001 From: Jason Williams Date: Sat, 26 Dec 2020 21:22:17 -0700 Subject: [PATCH] Mention broccoli-terser-sourcemap options --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 9ca0c413..c06dbdef 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,9 @@ var app = new EmberApp({ semicolons: true, }, }, + + // Tell broccoli-terser-sourcemap to not add sourcemap URLs + hiddenSourceMap: true, }, }); ``` @@ -59,6 +62,8 @@ var app = new EmberApp({ If no `terser` option is passed, a default configuration will be used. +Options supported by [broccoli-terser-sourcemap](https://github.com/ember-cli/broccoli-terser-sourcemap) may be added as top-level fields. + ### Source Maps Source maps are disabled by default for production builds in Ember CLI. If you