create3000 / x_ite

X_ITE X3D Browser, view and manipulate X3D and VRML scenes in HTML.
https://create3000.github.io/x_ite/
Other
66 stars 13 forks source link

Replace webpack "string-replace-webpack-plugin" or provide dependency overrides in package.json #169

Closed coderextreme closed 1 month ago

coderextreme commented 2 months ago

Try to replace this module as it is gathering CVEs from json5 and related node/webpack modules.

I'm experimenting with this in my development package.json:

-       }
+       },
+         "overrides": {
+           "json5": "^1.0.2",
+            "css-loader": "^7.1.1",
+            "file-loader": "^6.2.0",
+            "style-loader": "^4.0.0",
+            "loader-utils": "^1.4.2"
+         }

Thanks!

John

create3000 commented 2 months ago

With what can I replace this plugin?

coderextreme commented 2 months ago

“Or” means an alternative. Try using overrides in package.json.

I’ve had success, but I’m not doing extensive options to webpack.

John

On Thu, May 2, 2024 at 3:37 PM Holger Seelig @.***> wrote:

With what can I replace this plugin?

— Reply to this email directly, view it on GitHub https://github.com/create3000/x_ite/issues/169#issuecomment-2091511692, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFMJ57LLYORU2ZNARZSJBTZAKPZVAVCNFSM6AAAAABG5JOVR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJRGUYTCNRZGI . You are receiving this because you authored the thread.Message ID: @.***>