Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { globalCss } from '@/stitches.config';
import '@/app/assets/fonts/fonts.css';

export const globalStyles = globalCss({
body: {
Expand Down
1 change: 1 addition & 0 deletions packages/tokens-studio-for-figma/src/app/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'regenerator-runtime/runtime';
import './assets/fonts/fonts.css';
import './assets/fonts/jetbrainsmono.css';
import './styles/preflight.css';
import '@/i18n';
Expand Down
3 changes: 3 additions & 0 deletions packages/tokens-studio-for-figma/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ module.exports = wrapper((env, argv) => {
// This is necessary because Figma's 'eval' works differently than normal eval
devtool: argv.mode === 'production' ? 'source-map' : 'inline-source-map',

// Disable persistent caching in development to avoid module resolution issues
cache: argv.mode === 'production' ? { type: 'memory' } : false,

entry: {
ui: './src/app/index.tsx', // The entry point for your UI code
code: './src/plugin/controller.ts', // The entry point for your plugin code
Expand Down