Skip to content

Production Build Has "Use of Eval" Warnings #11

@rmgalante

Description

@rmgalante

I am looking for advice. I am building post 5 of your tilemap articles, and I installed the plugin as directed.

When I build a production version of the app, I get several warnings such as those below.

node_modules/phaser-matter-collision-plugin/dist/phaser-matter-collision.js (29:0): Use of eval in "node_modules/phaser-matter-collision-plugin/dist/phaser-matter-collision.js" is strongly discouraged as it poses security risks and may cause issues with minification.

The files in the dist folder of the node manager plugin show logic like the following.

eval("__webpack_require__.r(__webpack_exports__);\n...

How do I rebuild the plugin so that it doesn't have the eval logic?

Does it matter? Is it a security issue?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions