Vue-cli3 import external JS file error

vue-cli creates a project and reports an error via import external js

import test from ". / test.js";

clipboard.png
test.js


clipboard.png


clipboard.png

before upgrading, webpack3, is used and everything is fine and js can be imported normally. After upgrading to vue-cli3, the relevant error is prompted, indicating that the import is not successful.
searching a lot doesn"t solve the problem. Is
a problem with babel configuration or package dependency? Please answer

.
Nov.11,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3dc08-2c3b4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3dc08-2c3b4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?