Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
xpadev-net committed Dec 10, 2022
2 parents bbc2a16 + 1bac113 commit dd63028
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xpadev-net/niconicomments",
"version": "0.2.39",
"version": "0.2.40",
"description": "NiconiComments is a comment drawing library that is somewhat compatible with the official Nico Nico Douga player.",
"main": "dist/bundle.js",
"types": "dist/bundle.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion util/bundle-dts.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ const processDir = (dir = "./dist/") => {

processDir();

fs.writeFileSync("./dist/bundle.d.ts",output.join("\n").replace(/export (default|\{).+;/g,"").replace(/import type \{.*?;/g,"").replace(/import\(".+?"\)\./,"").replace(/\/\/# sourceMappingURL=.+\.d\.ts\.map/g,"")+"\nexport default NiconiComments;");
fs.writeFileSync("./dist/bundle.d.ts",output.join("\n").replace(/export (default|\{).+;/g,"").replace(/import type \{[\s\S]*?} from "@\/@types\/.+?";/g,"").replace(/import\(".+?"\)\./g,"").replace(/\/\/# sourceMappingURL=.+\.d\.ts\.map/g,"")+"\nexport default NiconiComments;");

0 comments on commit dd63028

Please sign in to comment.