Skip to content

Commit

Permalink
fix(fes): [hackFesInBuild] fix issues #210 (#232)
Browse files Browse the repository at this point in the history
Co-authored-by: neo.st.fox <[email protected]>
  • Loading branch information
neostfox and neo.st.fox authored Feb 21, 2024
1 parent cca6223 commit 3de08bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/fes/src/hackFesInBuild.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// my-module/register.js
import { join } from 'node:path';
import { addHook } from 'pirates';

function matcher(filename) {
if (filename.endsWith('/fes/lib/index.js')) return true;
return false;
return filename.endsWith(join(...['fes', 'lib', 'index.js']));
}

export function hackFesInBuild() {
Expand Down

0 comments on commit 3de08bc

Please sign in to comment.