Skip to content

Instantly share code, notes, and snippets.

@joelmoss
Last active March 20, 2025 21:30
Show Gist options
  • Save joelmoss/c3d9087f5f214e1f0d9719e4a7d38474 to your computer and use it in GitHub Desktop.
Save joelmoss/c3d9087f5f214e1f0d9719e4a7d38474 to your computer and use it in GitHub Desktop.
Proscenium test package
@import '/lib/importing/app/one.css';
import '/lib/importing/app/one.js'
@import 'pnpm-file/one.css';
@import 'pnpm-link/one.css';
@import 'pnpm-file-ext/one.css';
@import 'pnpm-link-ext/one.css';
import 'pnpm-file/one.js'
import 'pnpm-link/one.js'
import 'pnpm-file-ext/one.js'
import 'pnpm-link-ext/one.js'
Display the source blob
Display the rendered blob
Raw
<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="at" class="svg-inline--fa fa-at fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M504 232C504 95.751 394.053 8 256 8 118.94 8 8 118.919 8 256c0 137.059 110.919 248 248 248 52.926 0 104.681-17.079 147.096-48.321 5.501-4.052 6.423-11.924 2.095-17.211l-15.224-18.597c-4.055-4.954-11.249-5.803-16.428-2.041C339.547 442.517 298.238 456 256 456c-110.28 0-200-89.72-200-200S145.72 56 256 56c109.469 0 200 65.02 200 176 0 63.106-42.478 98.29-83.02 98.29-19.505 0-20.133-12.62-16.366-31.463l28.621-148.557c1.426-7.402-4.245-14.27-11.783-14.27h-39.175a12.005 12.005 0 0 0-11.784 9.735c-1.102 5.723-1.661 8.336-2.28 13.993-11.923-19.548-35.878-31.068-65.202-31.068C183.412 128.66 120 191.149 120 281.53c0 61.159 32.877 102.11 93.18 102.11 29.803 0 61.344-16.833 79.749-42.239 4.145 30.846 28.497 38.01 59.372 38.01C451.467 379.41 504 315.786 504 232zm-273.9 97.35c-28.472 0-45.47-19.458-45.47-52.05 0-57.514 39.56-93.41 74.61-93.41 30.12 0 45.471 21.532 45.471 51.58 0 46.864-33.177 93.88-74.611 93.88z"></path></svg>
@import 'pkg_dep';
import 'pkg_dep'
.pkg_index { content: "pkg/index.css"; }
console.log('pkg/index.js')
@define-mixin mixin {
content: "pkg/mixin.css";
}
.pkg_one { content: "pkg/one.css"; }
console.log('pkg/one.js')
.pkg_one_module { content: "pkg/one.module.css"; }
{
"name": "pkg",
"dependencies": {
"pkg_dep": "gist:2a1cc7a7c901f508921c7093b749d404"
}
}
.pkg_two { content: "pkg/two.css"; }
console.log('pkg/two.js')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment