@next2d/view-generator 1.5.1 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -42,7 +42,7 @@ const createJavaScriptFile = function ()
42
42
 
43
43
  for (let idx = 0; idx < keys.length; ++idx) {
44
44
 
45
- const names = keys[idx].split("-");
45
+ const names = keys[idx].split(/-|\//);
46
46
 
47
47
  if (names[0].charAt(0) === "@") {
48
48
  continue;
@@ -167,7 +167,7 @@ const createTypeScriptFile = function ()
167
167
 
168
168
  for (let idx = 0; idx < keys.length; ++idx) {
169
169
 
170
- const names = keys[idx].split("-");
170
+ const names = keys[idx].split(/-|\//);
171
171
 
172
172
  if (names[0].charAt(0) === "@") {
173
173
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next2d/view-generator",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "Generate the View class required for routing.",
5
5
  "author": "Toshiyuki Ienaga<ienaga@tvon.jp>",
6
6
  "license": "MIT",