王科举
Results
1
comments of
王科举
只需要将插件源码中dist目录下的index文件中transform方法的返回值作调整就行,将injectCode放置于code之前即可 ```javascript // 第339行 return { map: needSourcemap ? this.getCombinedSourcemap() : null, code: `${injectCode}${code}` }; ``` 但是总不可能每次都去修改插件源码吧😅