Skip to content

Commit 2adfb54

Browse files
committed
fix: resolve module paths
1 parent 92ac661 commit 2adfb54

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@synaptic-simulations/mach",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "The last MSFS instrument bundler you'll ever need.",
55
"main": "./dist/index.js",
66
"types": "./dist/index.d.ts",

src/plugins.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export const resolve = (options: { [module: string]: string }): Plugin => ({
9696
name: "mach-resolve",
9797
setup(build) {
9898
build.onResolve({ filter: new RegExp(`^(${Object.keys(options).join("|")})$`) }, (args) => ({
99-
path: options[args.path],
99+
path: path.resolve(options[args.path]),
100100
}));
101101
},
102102
});

0 commit comments

Comments
 (0)