How to import? the old code base

there is a js file left by our predecessors, and the outermost layer is an IIFE, but the project is webpack + vue. If you want to use import and other methods to import, of course, direct import is an error, Syntax Error: Deleting local variable in strict mode . May I ask how to solve this situation?

Mar.05,2021

if only import goes out, the function import can be executed outside, or the result import can be executed by executing the function.
but since the original code itself does not support import , there is a question mark over whether there may be other module dependencies and whether they may depend on any global variables.

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-1e4f86c-43d74.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-1e4f86c-43d74.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?