1 emitFile(name: string, content: Buffer|string, sourceMap: {...}) 在調(diào)用 file-loader 時(shí),如果發(fā)現(xiàn) this.emitFile 無(wú)效,則會(huì)拋出異常。接著 file-loader 會(huì)先調(diào)用 loaderUtils.getOptions() 方法,獲取當(dāng)前 loader 對(duì)應(yīng)的配置對(duì)象,然后基于已定義的 Schema
www.dbjr.com.cn/article/1503...htm 2025-5-30