vaderjs 1.3.3-alpha-81 → 1.3.3-alpha-82

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 +2 -2
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-81",
5
+ "version": "1.3.3-alpha-82",
6
6
  "bin": {
7
7
  "vader": "./vader.js"
8
8
  },
package/vader.js CHANGED
@@ -883,8 +883,8 @@ async function Build() {
883
883
  });
884
884
 
885
885
  }else if(process.env.isCloudflare){
886
- let html = scannedFiles.filter((e) => e.includes('index.html'))[0]
887
- console.log(html)
886
+ let htmlFile = fs.readFileSync(process.cwd() + "/node_modules/vaderjs/runtime/index.html", 'utf8')
887
+ fs.writeFileSync(process.cwd() + "/dist/index.html", htmlFile)
888
888
  }
889
889
 
890
890
  globalThis.isBuilding = false