Skip to content

Commit

Permalink
refactor(SLB-201): directly load stylesheets in gatsby
Browse files Browse the repository at this point in the history
  • Loading branch information
pmelab committed Jan 22, 2024
1 parent 02fba1b commit 76d946e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion apps/website/gatsby-browser.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import './styles.css';
import './node_modules/@custom/ui/build/styles.css';

import { registerExecutor } from '@custom/schema';
import { GatsbyBrowser } from 'gatsby';
Expand Down
2 changes: 0 additions & 2 deletions apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 76d946e

Please sign in to comment.