diff --git a/src/content/configuration/module.mdx b/src/content/configuration/module.mdx index 3684d9e975aa..e342c15b4e92 100644 --- a/src/content/configuration/module.mdx +++ b/src/content/configuration/module.mdx @@ -1018,8 +1018,11 @@ module.exports = { { test: /\\.css$/, include: [ + // will include any paths relative to the current directory starting with `app/styles` + // e.g. `app/styles.css`, `app/styles/styles.css`, `app/stylesheet.css` path.resolve(__dirname, 'app/styles'), - path.resolve(__dirname, 'vendor/styles'), + // add an extra slash to only include the content of the directory `vendor/styles/` + path.join(__dirname, 'vendor/styles/'), ], }, ],