wgt-node-utils 0.0.7 → 0.0.9

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wgt-node-utils",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "WGT工具类包",
5
5
  "main": "dist/bundle.js",
6
6
  "scripts": {
package/src/index.js CHANGED
@@ -514,11 +514,11 @@ class wgtNodeUtils {
514
514
  cssName = `${pageName}-${device}.entry.css`;
515
515
  }
516
516
  const f2eFiles = {
517
- jsStr: fileContents[jsName],
518
- cssStr: fileContents[cssName],
519
- reactStr: fileContents['react.production.min.js'],
520
- reactDomStr: fileContents['react-dom.production.min.js'],
521
- reactRouterStr: fileContents['react-router-dom.min.js'],
517
+ jsStr: this.fileContents[jsName],
518
+ cssStr: this.fileContents[cssName],
519
+ reactStr: this.fileContents['react.production.min.js'],
520
+ reactDomStr: this.fileContents['react-dom.production.min.js'],
521
+ reactRouterStr: this.fileContents['react-router-dom.min.js'],
522
522
  };
523
523
  // 每次启动服务后仅对第一次失败进行验证
524
524
  if (!this.filesErrorSendStatus) {
@@ -535,4 +535,4 @@ class wgtNodeUtils {
535
535
  return f2eFiles;
536
536
  }
537
537
  }
538
- module.exports = new wgtNodeUtils();
538
+ module.exports = new wgtNodeUtils('cli_a538bc45e770d00b', 'EDK1uleQyLym6WWDISo00dwx4gssiskJ');