We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1aa14c commit 331ca1aCopy full SHA for 331ca1a
frontend/vite.config.ts
@@ -190,7 +190,7 @@ function getPlugins({
190
UnpluginInjectPreload({
191
files: [
192
{
193
- outputMatch: /css\/vendor.*\.css$/,
+ outputMatch: /css\/.*\.css$/,
194
attributes: {
195
as: "style",
196
type: "text/css",
@@ -246,6 +246,10 @@ function getBuildOptions({
246
if (/\.(woff|woff2|eot|ttf|otf)$/.test(assetInfo.name)) {
247
return `webfonts/[name]-[hash].${extType}`;
248
}
249
+ if (assetInfo.name === "misc.css") {
250
+ return `${extType}/vendor.[hash][extname]`;
251
+ }
252
+
253
return `${extType}/[name].[hash][extname]`;
254
},
255
chunkFileNames: "js/[name].[hash].js",
0 commit comments