We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5035024 commit 4f0352eCopy full SHA for 4f0352e
package-bundler.js
@@ -18,7 +18,7 @@ function getAdapterReplacementPlugin(importMap = {}, adapterSuffixes = []) {
18
19
// File remapping convention
20
build.onResolve({ filter: /.*/ }, args => {
21
- if(!args.path.startsWith(path.sep) && !args.path.startsWith("." + path.sep) && !args.path.startsWith(".." + path.sep)) {
+ if(!args.path.startsWith("/") && !args.path.startsWith("./") && !args.path.startsWith("../")) {
22
return;
23
}
24
if(args.resolveDir.includes(path.sep + "node_modules" + path.sep)) {
0 commit comments