hegresphere/node_modules/vue-loader/dist/exportHelper.js
2024-12-12 17:01:12 +01:00

12 lines
328 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// runtime helper for setting properties on components
// in a tree-shakable way
exports.default = (sfc, props) => {
const target = sfc.__vccOpts || sfc;
for (const [key, val] of props) {
target[key] = val;
}
return target;
};