Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 1ea4a0e

Browse files
committed
lint対応
1 parent d83d807 commit 1ea4a0e

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

index.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ module.exports = class Next2DWebpackAutoLoaderPlugin
173173
}
174174

175175
return files;
176-
};
176+
}
177177

178178
/**
179179
*
@@ -265,22 +265,22 @@ module.exports = class Next2DWebpackAutoLoaderPlugin
265265
break;
266266

267267
case path.indexOf("src/model/") > -1:
268-
{
269-
const key = file
270-
.split("src/model/")[1]
271-
.split("/")
272-
.join(".")
273-
.slice(0, -3);
274-
275-
const asName = file
276-
.split("src/model/")[1]
277-
.split("/")
278-
.join("_")
279-
.slice(0, -3);
280-
281-
imports += `import { ${name} as ${asName} } from "/src/${path.split("src/")[1].split(".js")[0]}";${os.EOL}`;
282-
packages += `["${key}", ${asName}],${os.EOL}`;
283-
}
268+
{
269+
const key = file
270+
.split("src/model/")[1]
271+
.split("/")
272+
.join(".")
273+
.slice(0, -3);
274+
275+
const asName = file
276+
.split("src/model/")[1]
277+
.split("/")
278+
.join("_")
279+
.slice(0, -3);
280+
281+
imports += `import { ${name} as ${asName} } from "/src/${path.split("src/")[1].split(".js")[0]}";${os.EOL}`;
282+
packages += `["${key}", ${asName}],${os.EOL}`;
283+
}
284284
break;
285285

286286
default:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@next2d/webpack-auto-loader-plugin",
33
"description": "Next2D Framework webpack Auto Loader plugin.",
4-
"version": "1.6.3",
4+
"version": "1.6.4",
55
"author": "Toshiyuki Ienaga <[email protected]>",
66
"license": "MIT",
77
"main": "index.js",

0 commit comments

Comments
 (0)