From 7d22c36abe256182af438533979a99cdc9d687c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Tegn=C3=A9r?= Date: Mon, 22 Jun 2020 11:35:01 +0200 Subject: [PATCH] Removed source map generation. --- Yolog.d.ts | 4 ++-- webpack.config.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Yolog.d.ts b/Yolog.d.ts index fb64c32..c2cd7b0 100644 --- a/Yolog.d.ts +++ b/Yolog.d.ts @@ -114,7 +114,7 @@ declare class Yolog { * @param [tag] Optional tags to toggle. * @return Self. */ - public disableError (...tag: string[]): this; + public disableError (...tag: string[]): Yolog; /** * Enable internal error passing to the underlying plugin or event handler. * If tag name/s are omitted, the setting will be global. @@ -122,7 +122,7 @@ declare class Yolog { * @param [tag] Optional tags to toggle. * @return Self. */ - public enableError (...tag: string[]): this; + public enableError (...tag: string[]): Yolog; /** * Get a list of tags that are active. * diff --git a/webpack.config.js b/webpack.config.js index e688948..077fcf8 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -7,6 +7,7 @@ const common = { "@jitesoft/sprintf": "@jitesoft/sprintf", "@jitesoft/events": "@jitesoft/events" }, + devtool: false, module: { rules: [ {