Skip to content

Commit

Permalink
Allow source maps as files in webextension
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceK33z committed Oct 20, 2022
1 parent e168a78 commit e17d6b6
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,9 @@ export default (new Transformer({
},
sourceMap: asset.env.sourceMap && {
...asset.env.sourceMap,
inline: true,
inlineSources: true,
// Inline source maps work most reliably on web extensions but allow users to overwrite
inline: asset.env.sourceMap.inline ?? true,
inlineSources: asset.env.inlineSources ?? true,
},
includeNodeModules: asset.env.includeNodeModules,
sourceType: asset.env.sourceType,
Expand Down

0 comments on commit e17d6b6

Please sign in to comment.