Skip to content

Commit

Permalink
Merge branch 'gh-1913'
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed Sep 14, 2021
2 parents 956891a + ab8148d commit fce3078
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup/loaders/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ module.exports.trace = function(section) {
console.log(`!!!!!!!!!!!!!! Instrumenting ${localpath} for trace logging !!!!!!!!!!!!!`)

try {
const estrace = await import('estrace/plugin');
let {code} = putout(source.code, {
const { estracePlugin: estrace } = await import('estrace/plugin')
const { code } = putout(source.code, {
fixCount: 1,
rules: {
'estrace/trace': ['on', { url: localpath, exclude: [ 'FunctionExpression', 'ArrowFunctionExpression' ] }],
Expand Down

0 comments on commit fce3078

Please sign in to comment.