Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Commit

Permalink
refactor(broccoli-esbuild-transpiler): use async transform API
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlafroscia committed Mar 16, 2021
1 parent 0bec031 commit d669cf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions broccoli-esbuild-transpiler/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ module.exports = class ESBuild extends Filter {
return __dirname;
}

processString(content, relativePath) {
const result = esbuild.transformSync(content, {
async processString(content, relativePath) {
const result = await esbuild.transform(content, {
...this.esbuildTransformOptions,
sourcefile: relativePath,
});
Expand Down

0 comments on commit d669cf0

Please sign in to comment.