Optional dependencies in webpack. One option would be to set up require.context and then check if the file exists against that. Rough idea:
確定! 回上一頁