Skip to content

Commit

Permalink
Change assert to with import attributes. Resolve #5
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcwhite committed Mar 7, 2024
1 parent 55f0124 commit bc08906
Show file tree
Hide file tree
Showing 5 changed files with 713 additions and 621 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ And you could import it like this:
```js
// in some JS file:

import HelloWorld, { hello } from "src/hello-world.html" assert { type: "html" }
import HelloWorld, { hello } from "src/hello-world.html" with { type: "html" }

console.log(hello())

Expand Down
Loading

0 comments on commit bc08906

Please sign in to comment.