@gudhub/core 1.2.4-beta.3 → 1.2.4-beta.4
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 +14 -5
- package/umd/library.min.js +2 -300
- package/umd/library.min.js.LICENSE.txt +13 -0
- package/webpack.config.js +33 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*! jsonpath 1.1.1 */
|
|
2
|
+
|
|
3
|
+
//!!! temporary check !!!! if app has chanks property then we start getting it
|
|
4
|
+
|
|
5
|
+
//!!!!! 1) Change for each to for
|
|
6
|
+
|
|
7
|
+
//!!!!! 2) Stop iteration after value has been found
|
|
8
|
+
|
|
9
|
+
//!!!!! Shou Be Renamed to getFields() !!!!!!!
|
|
10
|
+
|
|
11
|
+
//!!!!! Shou Be added fieldID argument !!!!!!!
|
|
12
|
+
|
|
13
|
+
//!!!!!!!!!!!!!!******** All Methods below should be moved to AppProcesor and Auth **********!!!!!!!!!!!!!!!!//
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { fileURLToPath } from 'url';
|
|
2
|
+
import path from 'path';
|
|
3
|
+
|
|
4
|
+
// Convert import.meta.url to a file path
|
|
5
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
6
|
+
const __dirname = path.dirname(__filename);
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
entry: './indexUMD.js', // Entry point of your library
|
|
10
|
+
output: {
|
|
11
|
+
path: path.resolve(__dirname, './umd'),
|
|
12
|
+
filename: 'library.min.js', // Output filename
|
|
13
|
+
library: 'GudHubLibrary', // Global variable name
|
|
14
|
+
libraryTarget: 'umd', // Universal Module Definition
|
|
15
|
+
globalObject: 'this' // Ensures compatibility in various environments
|
|
16
|
+
},
|
|
17
|
+
module: {
|
|
18
|
+
rules: [
|
|
19
|
+
{
|
|
20
|
+
test: /\.js$/,
|
|
21
|
+
exclude: /node_modules/,
|
|
22
|
+
use: {
|
|
23
|
+
loader: 'babel-loader',
|
|
24
|
+
options: {
|
|
25
|
+
presets: ['@babel/preset-env']
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
externals: [], // List any dependencies you want to exclude from the bundle
|
|
32
|
+
mode: 'production', // Use 'development' for development builds
|
|
33
|
+
};
|