Skip to content

Commit

Permalink
build: enable source maps
Browse files Browse the repository at this point in the history
  • Loading branch information
josStorer committed Mar 9, 2023
1 parent 465852f commit 9a9f986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async function runWebpack(isWithoutKatex, callback) {
path: path.resolve(__dirname, outdir),
},
mode: isProduction ? 'production' : 'development',
devtool: false,
devtool: isProduction ? false : 'inline-source-map',
optimization: {
minimizer: [
new TerserPlugin({
Expand Down

0 comments on commit 9a9f986

Please sign in to comment.