fix: ship source maps for client code in dev mode (#756)
This commit is contained in:
@@ -91,6 +91,7 @@ export class Bundler {
|
|||||||
outfile: "",
|
outfile: "",
|
||||||
platform: "neutral",
|
platform: "neutral",
|
||||||
plugins: [denoPlugin({ importMapURL: this.#importMapURL })],
|
plugins: [denoPlugin({ importMapURL: this.#importMapURL })],
|
||||||
|
sourcemap: this.#dev ? "linked" : false,
|
||||||
splitting: true,
|
splitting: true,
|
||||||
target: ["chrome99", "firefox99", "safari15"],
|
target: ["chrome99", "firefox99", "safari15"],
|
||||||
treeShaking: true,
|
treeShaking: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user