Skip to content

Commit

Permalink
fix: provide original code in source maps when using RAM bundles (#761)
Browse files Browse the repository at this point in the history
Co-authored-by: jlynch <[email protected]>
  • Loading branch information
joeblynch and jlynch authored Apr 13, 2021
1 parent c180130 commit cafa6ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/haul-preset-0.59/src/defaultConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function getDefaultConfig(
return {
mode: dev ? 'development' : 'production',
context: root,
devtool: false,
devtool: type === 'basic-bundle' ? false : 'source-map',
entry: entryFiles,
output: {
path: assetsDest || root,
Expand Down
2 changes: 1 addition & 1 deletion packages/haul-preset-0.60/src/defaultConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function getDefaultConfig(
return {
mode: dev ? 'development' : 'production',
context: root,
devtool: false,
devtool: type === 'basic-bundle' ? false : 'source-map',
entry: entryFiles,
output: {
path: assetsDest || root,
Expand Down

0 comments on commit cafa6ea

Please sign in to comment.