Open LiuKanShanKanLiu opened 3 hours ago
Currently, chunks in my project have a certain dependency order, I used to use webpack's html-webpack-plugin in webpack , that works fine
new rspack.HtmlRspackPlugin({ chunks: [ // "js/crmPackages", // "js/crmCommon", "js/common", "js/main", // "js/email-config", "js/worker" // nodeNev === "development" ? "worker" : "/page/worker" ], template: "./src/viewsHtml/admin/home/index.html", filename: "viewsHtml/admin/home/index.html", inject: true, chunksSortMode: "manual",})
What problem does this feature solve?
Currently, chunks in my project have a certain dependency order, I used to use webpack's html-webpack-plugin in webpack , that works fine
What does the proposed API of configuration look like?
new rspack.HtmlRspackPlugin({ chunks: [ // "js/crmPackages", // "js/crmCommon", "js/common", "js/main", // "js/email-config", "js/worker" // nodeNev === "development" ? "worker" : "/page/worker" ], template: "./src/viewsHtml/admin/home/index.html", filename: "viewsHtml/admin/home/index.html", inject: true, chunksSortMode: "manual",})