This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ▐▛███▜▌ Claude Code v2.1.45 | |
| ▝▜█████▛▘ Opus 4.6 · Claude Max | |
| ▘▘ ▝▝ ~/briefly | |
| ❯ /spaa I just did a Next.js turbopack trace of my "next build" compilation. The | |
| results are at .next/trace.spaa | |
| Can you give me some insights into where time is being spent in compilation? | |
| ● Let me analyze the SPAA trace file from your Next.js build. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import {Model} from 'react-vr'; | |
| function getFormat(formats, format) { | |
| for (let i = 0; i < formats.length; i++) { | |
| if (formats[i].formatType === format) { | |
| return formats[i]; | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env node | |
| 'use strict'; | |
| const path = require('path'); | |
| const child_process = require('child_process'); | |
| const bin = path.resolve(__dirname, 'node_modules', '.bin', 'your-app-cli'); | |
| const args = process.argv.slice(2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "create-your-app", | |
| "bin": "./node_modules/.bin/your-app-cli", | |
| "dependencies": { | |
| "your-app-cli": "*" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import ReactDOM from 'react-dom'; | |
| let fbInjected = false; | |
| let fbLoaded = !!window.FB; | |
| let fbCallbacks = []; | |
| function onFbLoad() { | |
| fbLoaded = true; | |
| fbCallbacks.forEach((cb) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function ps(d){c={};d.pub=function(a,b){for(var i=c[a].length;i;)c[a][--i].apply(this,b)};d.sub=function(a,b){c[a]?c[a].push(b):c[a]=[b]};d.unsub=function(a,b){c[a]=(c[a]||[]).filter(function(i){return i!==b})}} |