Skip to content

Commit

Permalink
Merge pull request #51 from VampireChicken12/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
VampireChicken12 authored Oct 9, 2023
2 parents 3ac898a + 72331ce commit ff354b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/plugins/build-content-script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function buildContentScript(): PluginOption {
plugins: [cssInjectedByJsPlugin()],
build: {
outDir: resolve(outDir, browser.name),
sourcemap: process.env.__DEV__ === "true",
sourcemap: process.env.__DEV__ === "true" ? "inline" : false,
emptyOutDir: false,
rollupOptions: {
input: _package,
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function build() {
plugins: [react(), makeManifest(), buildContentScript(), copyPublic(), copyBuild(), makeReleaseZips()],
build: {
outDir: resolve(outDir, "temp"),
sourcemap: process.env.__DEV__ === "true",
sourcemap: process.env.__DEV__ === "true" ? "inline" : false,
emptyOutDir: false,
rollupOptions: {
input: {
Expand Down

0 comments on commit ff354b9

Please sign in to comment.