回答於 : 2024-01-24
這個錯誤訊息表示在使用正則表達式(或路徑'all')和靜態資源時,必須將'sourceOnDemand'設置為true。如果您想使用正則表達式或'all'路徑,則必須將'sourceOnDemand'屬性設置為true,以確保正確的資源匹配和處理。如果不這樣做,則會出現此錯誤訊息。
參考資料:
- [1] ERR: a path with a regular expression (or path 'all') cannot
- [2] ERR: a path with a regular expression (or path 'all') cannot