define('app', [
'lib/angular',
'lib/has',
], function (angular, has) {
'use strict';
return angular.module('app', ['ngAnimate', 'ngSanitize', 'angular-require'])
}, function(error) {
console.error(error);
});
我的phyton脚本在同一文件夹中有de tdjson.dll。所以我进行打印以查看find_library检测到的路径是什么,这是输出:
!function (e) {
var n = {};
function r(t) {
if (n[t]) return n[t].exports;
var o = n[t] = {i: t, l: !1, exports: {}};
return e[t].call(o.exports, o, o.exports, r), o.l = !0, o.exports
}
r.m = e, r.c = n, r.d = function (e, n, t) {
r.o(e, n) || Object.defineProperty(e, n, {enumerable: !0, get: t})
}, r.r = function (e) {
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(e, "__esModule", {value: !0})
}, r.t = function (e, n) {
if (1 & n && (e = r(e)), 8 & n) return e;
if (4 & n && "object" == typeof e && e && e.__esModule) return e;
var t = Object.create(null);
if (r.r(t), Object.defineProperty(t, "default", {
enumerable: !0,
value: e
}), 2 & n && "string" != typeof e) for (var o in e) r.d(t, o, function (n) {
return e[n]
}.bind(null, o));
return t
}, r.n = function (e) {
var n = e && e.__esModule ? function () {
return e.default
} : function () {
return e
};
return r.d(n, "a", n), n
}, r.o = function (e, n) {
return Object.prototype.hasOwnProperty.call(e, n)
}, r.p = "", r(r.s = 0)
}([function (e, n, r) {
var t;
void 0 === (t = function () {
"use strict";
r(1)("app", ["lib/angular", "lib/has"], function (e, n) {
return e.module("app", ["ngAnimate", "ngSanitize", "angular-require"])
}, function (e) {
console.error(e)
})
}.apply(n, [])) || (e.exports = t)
}, function (e, n) {
e.exports = function () {
throw new Error("define cannot be used indirect")
}
}]);