diff --git a/packages/tokens-studio-for-figma/src/app/sentry.ts b/packages/tokens-studio-for-figma/src/app/sentry.ts index 2ea699bf3..16c4166f6 100644 --- a/packages/tokens-studio-for-figma/src/app/sentry.ts +++ b/packages/tokens-studio-for-figma/src/app/sentry.ts @@ -37,7 +37,7 @@ export const initializeSentry = () => { release: `figma-tokens@${pjs.version}`, environment: process.env.ENVIRONMENT, tracesSampleRate: SAMPLING, - // @ts-expect-error Note: This gives an error. No clue why 🤷 + // @ts-ignore Note: This gives an error. No clue why 🤷 profilesSampleRate: PROFILE_RATE, replaysSessionSampleRate: REPLAY_RATE, // We always want to replay errors diff --git a/scripts/bundle.ts b/scripts/bundle.ts index a08d610b4..7e8f1d6ff 100644 --- a/scripts/bundle.ts +++ b/scripts/bundle.ts @@ -6,7 +6,7 @@ async function bundle() { const zip = new JSZip(); fs.ensureDirSync('dist'); - const files = await glob(['dist/*.js', 'dist/*.html'], { nodir: true }); + const files = await glob(['packages/tokens-studio-for-figma/dist/*.js', 'packages/tokens-studio-for-figma/dist/*.html'], { nodir: true }); await Promise.all(files.map(async (file) => { await zip.file(file, fs.readFileSync(file, 'utf8'));