This commit is contained in:
Emiliano Heyns
2022-05-14 22:53:11 +02:00
parent dff2485b59
commit 39f91d4243
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ module.exports = {
name: 'shims',
setup(build) {
build.onResolve({ filter: /^(path|fs|os)$/ }, args => {
return { path: path.resolve(path.join('setup/shims', args.path + '.js')) }
return { path: path.resolve(path.join(__dirname, args.path + '.js')) }
})
}
}