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

Support multiple calls to onINP() with different config options #583

Merged
merged 9 commits into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,16 @@ const configurePlugins = ({module}) => {
}),
terser({
module,
mangle: true,
compress: true,
mangle: {
properties: {
// Any object properties beginning with the '_' character will be
// mangled. Use this prefix for any object properties that are not
// part of the public API and do that not match an existing build-in
// API names (e.g. `.id` or `.entries`).
regex: /^_/,
},
},
}),
];
};
Expand Down
Loading
Loading