diff --git a/package.json b/package.json index 04c9530d9..2ec089e79 100644 --- a/package.json +++ b/package.json @@ -118,6 +118,7 @@ "playwright": "^1.46.1", "plop": "^4.0.0", "prettier": "^3.0.3", + "prettier-plugin-organize-imports": "^4.1.0", "prismjs": "^1.29.0", "react": "^18.2.0", "recursive-copy": "^2.0.14", diff --git a/scripts/build.js b/scripts/build.js index a5e952546..0493981d1 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -111,7 +111,9 @@ async function generateStyles() { await copy(join(rootDir, 'src/themes/default.css'), join(cdnDir, 'themes/default.css'), { overwrite: true }); await copy(join(rootDir, 'src/themes/forms.css'), join(cdnDir, 'themes/forms.css'), { overwrite: true }); await copy(join(rootDir, 'src/themes/layout.css'), join(cdnDir, 'themes/layout.css'), { overwrite: true }); - await copy(join(rootDir, 'src/themes/utilities.css'), join(cdnDir, 'themes/utilities.css'), { overwrite: true }); + await copy(join(rootDir, 'src/themes/utilities/index.css'), join(cdnDir, 'themes/utilities/index.css'), { + overwrite: true + }); } else { await copy(join(rootDir, 'src/themes'), join(cdnDir, 'themes'), { overwrite: true }); }