Skip to content

Commit

Permalink
Merge pull request #1787 from vstefanovic97/stable
Browse files Browse the repository at this point in the history
Fix source map option not being passed to plugin
  • Loading branch information
NullVoxPopuli committed Feb 5, 2024
2 parents 3e8823a + e8c691a commit d36a36a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/addon-dev/src/rollup-gjs-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const processor = new Preprocessor();
// import { parse as pathParse } from 'path';

export default function rollupGjsPlugin(
{ inline_source_map } = { inline_source_map: false }
{ inline_source_map } = { inline_source_map: true }
): Plugin {
return {
name: PLUGIN_NAME,
Expand Down
4 changes: 2 additions & 2 deletions packages/addon-dev/src/rollup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ export class Addon {
return hbs();
}

gjs() {
return gjs();
gjs(options?: { inline_source_map: boolean }) {
return gjs(options);
}

// By default rollup does not clear the output directory between builds. This
Expand Down

0 comments on commit d36a36a

Please sign in to comment.