Skip to content

Commit 7641856

Browse files
committed
fix unpkg config
1 parent 1cf3dfd commit 7641856

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ We follow Prettier's strategy for populating their plugins in the object `pretti
6666
'https://unpkg.com/prettier-plugin-solidity@latest'
6767
);
6868
const prettierSolidity = await import(
69-
'https://unpkg.com/prettier-plugin-solidity@latest'
69+
'https://unpkg.com/prettier-plugin-solidity@next'
7070
);
7171
7272
async function format(code) {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "prettier-plugin-solidity",
3-
"version": "2.0.0-beta.3",
3+
"version": "2.0.0-beta.4",
44
"description": "A Prettier Plugin for automatically formatting your Solidity code.",
55
"type": "module",
66
"main": "./dist/index.js",
77
"browser": "./dist/standalone.js",
8-
"unpkg": "./dist/",
8+
"unpkg": "./dist/standalone.js",
99
"exports": {
1010
".": "./dist/index.js",
1111
"./standalone": "./dist/standalone.js"

0 commit comments

Comments
 (0)