Skip to content

Commit a2986b0

Browse files
committed
revise stackgl type from umd to commonjs-module
1 parent 9532b80 commit a2986b0

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

Diff for: stackgl_modules/index.js

+3-14
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
(function webpackUniversalModuleDefinition(root, factory) {
2-
if(typeof exports === 'object' && typeof module === 'object')
3-
module.exports = factory();
4-
else if(typeof define === 'function' && define.amd)
5-
define([], factory);
6-
else if(typeof exports === 'object')
7-
exports["Stackgl"] = factory();
8-
else
9-
root["Stackgl"] = factory();
10-
})(self, function() {
11-
return /******/ (function() { // webpackBootstrap
1+
/******/ (function() { // webpackBootstrap
122
/******/ var __webpack_modules__ = ({
133

144
/***/ 1964:
@@ -42715,8 +42705,7 @@ function findZeroCrossings(array, level) {
4271542705
/******/ // Load entry module and return exports
4271642706
/******/ // This entry module is referenced by other modules so it can't be inlined
4271742707
/******/ var __webpack_exports__ = __webpack_require__(1964);
42708+
/******/ module.exports = __webpack_exports__;
4271842709
/******/
42719-
/******/ return __webpack_exports__;
4272042710
/******/ })()
42721-
;
42722-
});
42711+
;

Diff for: stackgl_modules/webpack.config.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ module.exports = {
77
path: path.resolve('.'),
88
filename: 'index.js',
99
library: {
10-
name: 'Stackgl',
11-
type: 'umd'
10+
type: 'commonjs-module'
1211
}
1312
},
1413
optimization: {

0 commit comments

Comments
 (0)