diff --git a/apps/website/gatsby-browser.ts b/apps/website/gatsby-browser.ts index 868af361d..a1021fe1e 100644 --- a/apps/website/gatsby-browser.ts +++ b/apps/website/gatsby-browser.ts @@ -1,4 +1,4 @@ -import './styles.css'; +import './node_modules/@custom/ui/build/styles.css'; import { registerExecutor } from '@custom/schema'; import { GatsbyBrowser } from 'gatsby'; diff --git a/apps/website/package.json b/apps/website/package.json index 49192d070..5773096e2 100644 --- a/apps/website/package.json +++ b/apps/website/package.json @@ -39,8 +39,6 @@ }, "scripts": { "test:static": "tsc --noEmit && eslint '**/*.{ts,tsx,js,jsx}' --ignore-path='./.gitignore'", - "prep": "pnpm run prep:styles", - "prep:styles": "rm -f styles.css && cp node_modules/@custom/ui/build/styles.css styles.css", "build:gatsby": "pnpm build:dotenv && gatsby build", "build:dotenv": "rm -rf .env && echo \"DRUPAL_EXTERNAL_URL='$DRUPAL_EXTERNAL_URL'\nDRUPAL_INTERNAL_URL='$DRUPAL_INTERNAL_URL'\" >> .env", "rebuild": "gatsby build",