@taole/dev-helper 0.0.28 → 0.0.29

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.
@@ -1,8 +1,10 @@
1
- (function (factory) {
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
2
3
  typeof define === 'function' && define.amd ? define(factory) :
3
- factory();
4
- })((function () { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.OpenDiandian = factory());
5
+ })(this, (function () { 'use strict';
5
6
 
7
+ const name = 'open-diandian';
6
8
  // 测试使用open-diandain-app标签
7
9
  // TODO: 后期可以考虑优化为根据域名自动选择appid
8
10
  function defineTag() {
@@ -170,8 +172,10 @@
170
172
 
171
173
  registerTdiv();
172
174
 
173
- // export default {
174
- // name
175
- // }
175
+ var index = {
176
+ name
177
+ };
178
+
179
+ return index;
176
180
 
177
181
  }));
@@ -166,6 +166,6 @@ function registerTdiv() {
166
166
 
167
167
  registerTdiv();
168
168
 
169
- // export default {
170
- // name
171
- // }
169
+ export default {
170
+ name
171
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taole/dev-helper",
3
- "version": "0.0.28",
3
+ "version": "0.0.29",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "npx -y rimraf dist && rollup -c",