onairos 0.1.40 → 0.1.41
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 +1 -5
package/package.json
CHANGED
package/webpack.config.js
CHANGED
|
@@ -12,10 +12,6 @@ module.exports = {
|
|
|
12
12
|
libraryTarget: 'umd', // This makes your library compatible with different module systems
|
|
13
13
|
globalObject: 'this' // Ensures compatibility with both browser and Node environments
|
|
14
14
|
},
|
|
15
|
-
plugins: [
|
|
16
|
-
// ... (any other plugins)
|
|
17
|
-
// new BundleAnalyzerPlugin(), // Add this line to include the plugin
|
|
18
|
-
],
|
|
19
15
|
optimization: {
|
|
20
16
|
minimize: true,
|
|
21
17
|
minimizer: [
|
|
@@ -23,7 +19,7 @@ module.exports = {
|
|
|
23
19
|
terserOptions: {
|
|
24
20
|
compress: {
|
|
25
21
|
drop_console: true, // Removes console.* statements
|
|
26
|
-
drop_debugger: true, // Removes debugger statements
|
|
22
|
+
// drop_debugger: true, // Removes debugger statements
|
|
27
23
|
dead_code: true, // Removes unreachable code
|
|
28
24
|
},
|
|
29
25
|
mangle: true, // Renames variables and functions to shorter names
|