From 09c167a020e85313ef5633d8b605055b8f72f15b Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Wed, 6 Sep 2023 21:57:25 +0300 Subject: [PATCH] Add source map for library build (#364) --- webpack.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.ts b/webpack.config.ts index 3674d81e..32c41eba 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -35,7 +35,6 @@ export default function buildWebpackConfig(env: Env): any { entry: './src/standalone.ts', optimization: { minimize: true }, externals: undefined, - devtool: 'source-map', output: { ...baseConfig.output, filename: 'voyager.standalone.js', @@ -56,6 +55,7 @@ export default function buildWebpackConfig(env: Env): any { } const baseConfig: webpack.Configuration = { + devtool: 'source-map', performance: { hints: false, },