Browse Source

FIX: generate process couldn't pick up files

Some files weren't renamed correctly therefore they weren't found by the generate script
dev-main
chris 4 months ago
parent
commit
1b464b9ad7
  1. 2
      generate_single_file.js
  2. 12
      jpclw-bundle.json
  3. 0
      src/component/ModifiableComponent.js
  4. 0
      src/helper/TwoDimPoint.js

2
generate_single_file.js

@ -98,6 +98,7 @@ async function appendContent(srcFile, targetFile, contentModifications = [], lin
console.log(` Append/Write: successfully!`); console.log(` Append/Write: successfully!`);
} catch (error) { } catch (error) {
console.error(`Error reading/writing files: ${error.message}`); console.error(`Error reading/writing files: ${error.message}`);
console.error(srcFile);
} }
} }
@ -146,7 +147,6 @@ async function bundleWithSpecifiedMode(targetFile, fileList, modulize = true) {
), Promise.resolve() ), Promise.resolve()
) )
} }
} }

12
jpclw-bundle.json

@ -48,9 +48,6 @@
"Row.js", "Row.js",
"InputComponent.js" "InputComponent.js"
], ],
"extensions": [
"extension.js"
],
"context": [ "context": [
"scriptAndStyleContext.js", "scriptAndStyleContext.js",
"framework-controls.js", "framework-controls.js",
@ -84,7 +81,6 @@
"padding.js", "padding.js",
"shapes.js", "shapes.js",
"siding.js", "siding.js",
"extension.js",
"simplePagingAndNavigation.js", "simplePagingAndNavigation.js",
"defaultGenerators.js", "defaultGenerators.js",
"generator.js", "generator.js",
@ -504,14 +500,6 @@
"Sides" "Sides"
] ]
}, },
"extension.js": {
"folder": "src/extensions",
"name": "extension.js"
},
"simplePagingAndNavigation.js": {
"folder": "src/extensions",
"name": "simplePagingAndNavigation.js"
},
"defaultGenerators.js": { "defaultGenerators.js": {
"folder": "src/generators", "folder": "src/generators",
"name": "defaultGenerators.js", "name": "defaultGenerators.js",

0
src/component/modifiableComponent.js → src/component/ModifiableComponent.js

0
src/helper/twoDimPoint.js → src/helper/TwoDimPoint.js

Loading…
Cancel
Save