Skip to content

Commit

Permalink
fix unpkg config
Browse files Browse the repository at this point in the history
  • Loading branch information
Janther committed Nov 2, 2024
1 parent 1cf3dfd commit 7641856
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ We follow Prettier's strategy for populating their plugins in the object `pretti
'https://unpkg.com/prettier-plugin-solidity@latest'
);
const prettierSolidity = await import(
'https://unpkg.com/prettier-plugin-solidity@latest'
'https://unpkg.com/prettier-plugin-solidity@next'
);
async function format(code) {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "prettier-plugin-solidity",
"version": "2.0.0-beta.3",
"version": "2.0.0-beta.4",
"description": "A Prettier Plugin for automatically formatting your Solidity code.",
"type": "module",
"main": "./dist/index.js",
"browser": "./dist/standalone.js",
"unpkg": "./dist/",
"unpkg": "./dist/standalone.js",
"exports": {
".": "./dist/index.js",
"./standalone": "./dist/standalone.js"
Expand Down

0 comments on commit 7641856

Please sign in to comment.