Open benzsuankularb opened 11 months ago
More investigation, Seems like a multiple assets pattern with no middle wildcard this didn't work as well...
This work
copy({
resolveFrom: 'cwd',
assets: {
from: [
'../../../../node_modules/my-package-1/build/assets/**/*',
],
to: ['./build/assets'],
}
})
This work
copy({
resolveFrom: 'cwd',
assets: {
from: [
'../../../../node_modules/my-package-2/build/assets/**/*',
],
to: ['./build/assets'],
}
})
This doesn't
copy({
resolveFrom: 'cwd',
assets: {
from: [
'../../../../node_modules/my-package-1/build/assets/**/*',
'../../../../node_modules/my-package-2/build/assets/**/*',
],
to: ['./build/assets'],
}
})
Oh, It's the same issue as https://github.com/LinbuduLab/esbuild-plugins/issues/105
Seems like this issue was opened a really while ago.
This pattern work
But this doesn't
And throws me a weird error...