Skip to content

Commit

Permalink
Add files extensions into astro default bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Machy8 committed Mar 2, 2023
1 parent 74372cc commit c1e7091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const stylify = (options: UnpluginConfigInterface = {}): AstroIntegration
? [{
outputFile: singleBundleOutputFilePath,
rewriteSelectorsInFiles: false,
files: [`${srcDir}/**/*.{astro,html,js,jsx,svelte,ts,tsx,vue}`]
files: [`${srcDir}/**/*.{astro,html,js,json,jsx,mjs,md,mdx,svelte,ts,tsx,vue,yaml}`]
}]
: []
};
Expand Down

0 comments on commit c1e7091

Please sign in to comment.