- Implemented astro-i18next for multi-language support, including English, Dutch, and Italian. - Configured default locale and language fallback settings. - Defined routes for localized content in the configuration. - Updated package.json and package-lock.json to include new dependencies for i18next and related plugins.
10 lines
475 B
JavaScript
10 lines
475 B
JavaScript
var isNativeReflectConstruct = require("./isNativeReflectConstruct.js");
|
|
var setPrototypeOf = require("./setPrototypeOf.js");
|
|
function _construct(t, e, r) {
|
|
if (isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
|
|
var o = [null];
|
|
o.push.apply(o, e);
|
|
var p = new (t.bind.apply(t, o))();
|
|
return r && setPrototypeOf(p, r.prototype), p;
|
|
}
|
|
module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports; |