Skip to content

Commit

Permalink
Serve demo from dist
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnw committed Nov 22, 2024
1 parent 074c470 commit 702caa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
}
</style>
<script type="module">
import polyfill from '/src/index-fn.ts';
// Todo: Switch back to loading from /src/index-fn.ts
import polyfill from '/dist/css-anchor-positioning-fn.js'

const SUPPORTS_ANCHOR_POSITIONING =
'anchorName' in document.documentElement.style;
Expand Down

0 comments on commit 702caa6

Please sign in to comment.