Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina committed Dec 14, 2024
1 parent 5d6e1c3 commit f4bfedb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 14 deletions.
2 changes: 1 addition & 1 deletion packages/graphiql-plugin-code-exporter/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default defineConfig({
name: 'GraphiQLPluginCodeExporter',
formats: IS_UMD ? ['umd'] : ['cjs', 'es'],
// TODO: rename to index.css?
cssFileName: 'style'
cssFileName: 'style',
},
rollupOptions: {
external: [
Expand Down
2 changes: 1 addition & 1 deletion packages/graphiql-react/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default defineConfig({
fileName: 'index',
formats: ['cjs', 'es'],
// TODO: rename to index.css?
cssFileName: 'style'
cssFileName: 'style',
},
rollupOptions: {
external: [
Expand Down
9 changes: 0 additions & 9 deletions packages/graphiql/postcss.config.js

This file was deleted.

3 changes: 0 additions & 3 deletions packages/graphiql/src/cdn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ import { createGraphiQLFetcher, createLocalStorage } from '@graphiql/toolkit';
import * as GraphQL from 'graphql';
import { GraphiQL } from './GraphiQL';

import '@graphiql/react/font/roboto.css';
import '@graphiql/react/font/fira-code.css';
import '@graphiql/react/dist/style.css';
import './style.css';

/**
Expand Down
4 changes: 4 additions & 0 deletions packages/graphiql/src/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
@import '@graphiql/react/font/roboto.css';
@import '@graphiql/react/font/fira-code.css';
@import '@graphiql/react/dist/style.css';

/* Everything */
.graphiql-container {
background-color: hsl(var(--color-base));
Expand Down

0 comments on commit f4bfedb

Please sign in to comment.