Skip to content

Commit

Permalink
Upgrade content-tag in ember-repl to v3 (#1867)
Browse files Browse the repository at this point in the history
* Upgrade content-tag in ember-repl to v3

* lockfile
  • Loading branch information
NullVoxPopuli authored Nov 12, 2024
1 parent 1ef43fd commit 0e55a6e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/ember-repl/addon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"broccoli-file-creator": "^2.1.1",
"change-case": "^5.4.4",
"common-tags": "^1.8.2",
"content-tag": "^2.0.2",
"content-tag": "^3.0.0",
"decorator-transforms": "^2.3.0",
"ember-resources": "^7.0.1",
"line-column": "^1.0.2",
Expand Down
7 changes: 6 additions & 1 deletion packages/ember-repl/addon/src/compile/formats/gjs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,12 @@ async function preprocess(input: string, name: string): Promise<string> {
processor = new Preprocessor();
}

return processor.process(input, { filename: `${name}.js`, inline_source_map: true });
let { code /* map */ } = processor.process(input, {
filename: `${name}.js`,
inline_source_map: true,
});

return code;
}

async function transform(
Expand Down
9 changes: 7 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0e55a6e

Please sign in to comment.