Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Rollup warning for use of eval #62432

Merged
merged 1 commit into from
Dec 6, 2021
Merged

Conversation

maraf
Copy link
Member

@maraf maraf commented Dec 6, 2021

As discussed in the #61212 (comment) we are sticking with the use of eval for now.

As I didn't find a rollup way to disable warning in place, I have added a onwarn callback to the config file with filter for file name method-calls.ts. If you have a better way, please let me know.

@maraf maraf added the arch-wasm WebAssembly architecture label Dec 6, 2021
@maraf maraf added this to the 7.0.0 milestone Dec 6, 2021
@maraf maraf requested review from lewing, kg and pavelsavara December 6, 2021 14:23
@maraf maraf requested a review from marek-safar as a code owner December 6, 2021 14:23
@ghost
Copy link

ghost commented Dec 6, 2021

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

As discussed in the #61212 (comment) we are sticking with the use of eval for now.

As I didn't find a rollup way to disable warning in place, I have added a onwarn callback to the config file with filter for file name method-calls.ts. If you have a better way, please let me know.

Author: maraf
Assignees: -
Labels:

arch-wasm

Milestone: 7.0.0

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

Copy link
Member

@pavelsavara pavelsavara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have better idea, unfortunately.

@maraf maraf merged commit 5dc1b4c into dotnet:main Dec 6, 2021
@maraf maraf deleted the DisableEvalWarning branch December 6, 2021 19:47
@ghost ghost locked as resolved and limited conversation to collaborators Jan 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants