vaderjs 1.3.3-alpha-67 → 1.3.3-alpha-68

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/package.json +1 -1
  2. package/vader.js +4 -7
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "vaderjs",
3
3
  "description": "A Reactive library aimed to helping you build reactive applications inspired by react.js",
4
4
  "module": "vader.js",
5
- "version": "1.3.3-alpha-67",
5
+ "version": "1.3.3-alpha-68",
6
6
  "bin": {
7
7
  "vader": "./vader.js"
8
8
  },
package/vader.js CHANGED
@@ -21,7 +21,7 @@ let dirs = {
21
21
 
22
22
  Object.keys(dirs).map((key, index) => {
23
23
  if (!dirs[key]) {
24
- fs.mkdirSync('./' + key)
24
+ fs.mkdirSync(process.cwd() + '/' + key)
25
25
  }
26
26
  }).filter(Boolean)[0]
27
27
 
@@ -673,10 +673,7 @@ function Compiler(func, file) {
673
673
 
674
674
  return string
675
675
  }
676
- let bindings = []
677
- let exec = await import('child_process').then((child) => {
678
- return child.exec
679
- })
676
+
680
677
  globalThis.isBuilding = false
681
678
  globalThis.isWriting = null
682
679
  async function Build() {
@@ -870,6 +867,7 @@ async function Build() {
870
867
  scannedFiles.forEach(async (file) => {
871
868
  file = file.split(process.cwd() + '/runtime/')[1]
872
869
 
870
+ console.log(file)
873
871
  let objCase = {
874
872
  ...file == "app.js" ? { exit: true } : null,
875
873
  ...file.includes("index.html") && fs.existsSync(process.cwd() + "/runtime/" + file) ? { exit: true } : null,
@@ -880,8 +878,7 @@ async function Build() {
880
878
  return
881
879
  }
882
880
  bundleSize += fs.statSync(process.cwd() + "/runtime/" + file).size;
883
- let data = await reader(process.cwd() + "/runtime/" + file)
884
- console.log(process.cwd() + "/runtime/" + file)
881
+ let data = await reader(process.cwd() + "/runtime/" + file)
885
882
  await writer(process.cwd() + "/dist/" + file, data);
886
883
  });
887
884