Skip to content

Commit 0ebbcd8

Browse files
grammar
1 parent b233f06 commit 0ebbcd8

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/pages/guides/ecosystem/storybook.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ In this example we are handling for CSS Module scripts:
184184
id.endsWith(".css") &&
185185
!id.endsWith(".module.css")
186186
) {
187-
// add .type so Constructable Stylesheets are not precessed by Vite's default pipeline
187+
// append .type to the end of Constructable Stylesheet file paths so that they are not automatically precessed by Vite's default pipeline
188188
return path.join(path.dirname(importer), `${id}.type`);
189189
}
190190
},
@@ -259,7 +259,7 @@ For example, if you're using Greenwood's [Raw Plugin](https://github.com/Project
259259
if (
260260
id.endsWith(hint)
261261
) {
262-
// append .type so .css file paths so they are not precessed by Vite's default CSS pipeline
262+
// append .type to the end of .css file paths so they are not automatically precessed by Vite's default CSS pipeline
263263
return path.join(path.dirname(importer), `${id.slice(0, id.indexOf(hint))}.type${hint}`);
264264
}
265265
},
@@ -276,7 +276,6 @@ For example, if you're using Greenwood's [Raw Plugin](https://github.com/Project
276276
};
277277
}
278278
279-
280279
export default defineConfig({
281280
// 5) add it the plugins option
282281
plugins: [transformRawImports()],

0 commit comments

Comments
 (0)