diff --git a/packages/@vue/cli/lib/util/configTransforms.js b/packages/@vue/cli/lib/util/configTransforms.js
index <HASH>..<HASH> 100644
--- a/packages/@vue/cli/lib/util/configTransforms.js
+++ b/packages/@vue/cli/lib/util/configTransforms.js
@@ -13,7 +13,7 @@ const isObject = val => val && typeof val === 'object'
 const transformJS = {
   read: ({ filename, context }) => {
     try {
-      return loadModule(filename, context, true)
+      return loadModule(`./${filename}`, context, true)
     } catch (e) {
       return null
     }
fix: fix config merging during `vue invoke` in Node.js <I> (#<I>)

The root cause here is the same as #<I>

The failing `loadModule` call will return `undefined` for a js config

read operation, which later caused config being overwritten.