mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-28 18:08:15 +03:00
feat: always generate and release sourcemaps
We might aswell. It'll be nice for people who use devtools, and I don't mind this code becoming open source at some point
This commit is contained in:
@@ -30,7 +30,7 @@ const postcssNormalize = require("postcss-normalize");
|
||||
const appPackageJson = require(paths.appPackageJson);
|
||||
|
||||
// Source maps are resource heavy and can cause out of memory issue for large source files.
|
||||
const shouldUseSourceMap = process.env.GENERATE_SOURCEMAP !== "false" && process.env.NODE_ENV !== "production";
|
||||
const shouldUseSourceMap = true; // process.env.GENERATE_SOURCEMAP !== "false" && process.env.NODE_ENV !== "production";
|
||||
// Some apps do not need the benefits of saving a web request, so not inlining the chunk
|
||||
// makes for a smoother build process.
|
||||
const shouldInlineRuntimeChunk = process.env.INLINE_RUNTIME_CHUNK !== "false";
|
||||
|
||||
Reference in New Issue
Block a user