rspack_plugin_runtime 0.100.1

rspack runtime plugin
Documentation
1
2
3
4
5
6
7
<%- DEFINE_PROPERTY_GETTERS %> = <%- basicFunction("exports, definition") %> {
	for(var key in definition) {
        if(<%- HAS_OWN_PROPERTY %>(definition, key) && !<%- HAS_OWN_PROPERTY %>(exports, key)) {
            Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
        }
    }
};