@gudhub/core 1.2.4-beta.12 → 1.2.4-beta.13
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 +1 -1
- package/webpack.config.js +6 -1
package/package.json
CHANGED
package/webpack.config.js
CHANGED
|
@@ -33,13 +33,18 @@ export default {
|
|
|
33
33
|
appRequestWorker: {
|
|
34
34
|
import: './GUDHUB/DataService/IndexedDB/appRequestWorker.js',
|
|
35
35
|
filename: 'appRequestWorker.js',
|
|
36
|
+
|
|
37
|
+
library: {
|
|
38
|
+
type: 'umd',
|
|
39
|
+
// name: 'GudHubLibrary',
|
|
40
|
+
}
|
|
36
41
|
},
|
|
37
42
|
},
|
|
38
43
|
output: {
|
|
39
44
|
path: path.resolve(__dirname, './umd'),
|
|
40
45
|
// filename: 'library.min.js', // Output filename
|
|
41
46
|
// library: 'GudHubLibrary', // Global variable name
|
|
42
|
-
libraryTarget: 'umd', // Universal Module Definition
|
|
47
|
+
// libraryTarget: 'umd', // Universal Module Definition
|
|
43
48
|
globalObject: 'this' // Ensures compatibility in various environments
|
|
44
49
|
},
|
|
45
50
|
devtool: 'eval', // Enable source maps
|