From 990ae3fb9602b9304b484d9b9aca83f77bc95356 Mon Sep 17 00:00:00 2001 From: Grzegorz Ziolkowski Date: Mon, 15 Jun 2020 08:54:25 +0200 Subject: [PATCH] Docs: Add tweaks to the CSS support description --- packages/scripts/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/scripts/README.md b/packages/scripts/README.md index c9339e678200c..4e5bf733e431d 100644 --- a/packages/scripts/README.md +++ b/packages/scripts/README.md @@ -528,7 +528,7 @@ import './style.css'; When you run the build using the default command `wp-scripts build` (also applies to `start`) in addition to the JavaScript file `index.js` generated in the `build` folder, you should see two more files: 1. `index.css` – all imported CSS files are bundled into one chunk named after the entry point, which defaults to `index.js`, and thus the file created becomes `index.css`. This is for styles used only in the editor. -2. `style-index.css` – imported `*style.css` file(s) (applies to SASS and SCSS extensions) get bundled into one `style-index.css` file that is meant to be used both on the front-end and in the editor. +2. `style-index.css` – imported `style.css` file(s) (applies to SASS and SCSS extensions) get bundled into one `style-index.css` file that is meant to be used both on the front-end and in the editor. You can also have multiple entry points as described in the docs for the script: