From 2c3864442821c585ba1b4e2101b968fb14137ad3 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Sat, 16 Mar 2019 21:51:12 -0700 Subject: [PATCH] Output source map for library build --- config/webpack.library.js | 1 + 1 file changed, 1 insertion(+) diff --git a/config/webpack.library.js b/config/webpack.library.js index 46e8ec56..4c3ff7b3 100644 --- a/config/webpack.library.js +++ b/config/webpack.library.js @@ -3,6 +3,7 @@ const { BundleAnalyzerPlugin } = require("webpack-bundle-analyzer"); const UnminifiedWebpackPlugin = require("unminified-webpack-plugin"); module.exports = { + devtool: "source-map", mode: "production", resolve: { extensions: [".js", ".ts", ".tsx"]