Skip to content

Commit

Permalink
ready for review
Browse files Browse the repository at this point in the history
  • Loading branch information
lilnasy committed Sep 4, 2023
1 parent 7f5de4e commit 5929ad3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion packages/astro/src/core/build/plugins/plugin-css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ function rollupPluginAstroBuildCSS(options: PluginOptions): VitePlugin[] {

const inlineStylesheetsPlugin: VitePlugin = {
name: 'astro:rollup-plugin-inline-stylesheets',
enforce: 'post',
async generateBundle(_outputOptions, bundle) {
const inlineConfig = settings.config.build.inlineStylesheets;
const { assetsInlineLimit = 4096 } = settings.config.vite?.build ?? {};
Expand Down
5 changes: 1 addition & 4 deletions packages/astro/test/css-dangling-references.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ describe("When Vite's preloadModule polyfill is used", async () => {

before(async () => {
fixture = await loadFixture({
root: './fixtures/css-dangling-references/',
// build: {
// inlineStylesheets: 'never',
// }
root: './fixtures/css-dangling-references/'
});
await fixture.build();
});
Expand Down

0 comments on commit 5929ad3

Please sign in to comment.