removido dayjs/locale/pt-br.js
This commit is contained in:
parent
3b37c764bd
commit
a75b70dddd
5 changed files with 3 additions and 6 deletions
|
|
@ -32,7 +32,6 @@ __export(dayjs_exports, {
|
||||||
});
|
});
|
||||||
module.exports = __toCommonJS(dayjs_exports);
|
module.exports = __toCommonJS(dayjs_exports);
|
||||||
var import_dayjs = __toESM(require("dayjs"));
|
var import_dayjs = __toESM(require("dayjs"));
|
||||||
var import_pt_br = require("dayjs/locale/pt-br");
|
|
||||||
var import_duration = __toESM(require("dayjs/plugin/duration"));
|
var import_duration = __toESM(require("dayjs/plugin/duration"));
|
||||||
var import_isSameOrAfter = __toESM(require("dayjs/plugin/isSameOrAfter"));
|
var import_isSameOrAfter = __toESM(require("dayjs/plugin/isSameOrAfter"));
|
||||||
var import_isSameOrBefore = __toESM(require("dayjs/plugin/isSameOrBefore"));
|
var import_isSameOrBefore = __toESM(require("dayjs/plugin/isSameOrBefore"));
|
||||||
|
|
@ -49,7 +48,6 @@ import_dayjs.default.extend(import_isSameOrAfter.default);
|
||||||
import_dayjs.default.extend(import_minMax.default);
|
import_dayjs.default.extend(import_minMax.default);
|
||||||
import_dayjs.default.extend(import_relativeTime.default);
|
import_dayjs.default.extend(import_relativeTime.default);
|
||||||
import_dayjs.default.extend(import_duration.default);
|
import_dayjs.default.extend(import_duration.default);
|
||||||
import_dayjs.default.locale("pt-br");
|
|
||||||
// Annotate the CommonJS export names for ESM import in node:
|
// Annotate the CommonJS export names for ESM import in node:
|
||||||
0 && (module.exports = {
|
0 && (module.exports = {
|
||||||
dayjsbr
|
dayjsbr
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "p-comuns",
|
"name": "p-comuns",
|
||||||
"version": "0.265.0",
|
"version": "0.266.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "./dist-back/index.js",
|
"main": "./dist-back/index.js",
|
||||||
"module": "./dist-front/index.mjs",
|
"module": "./dist-front/index.mjs",
|
||||||
|
|
|
||||||
BIN
pacote.tgz
BIN
pacote.tgz
Binary file not shown.
|
|
@ -1,7 +1,7 @@
|
||||||
import dayjsbr from "dayjs"
|
import dayjsbr from "dayjs"
|
||||||
|
|
||||||
export type { ManipulateType } from "dayjs"
|
export type { ManipulateType } from "dayjs"
|
||||||
import "dayjs/locale/pt-br"
|
|
||||||
import duration from "dayjs/plugin/duration"
|
import duration from "dayjs/plugin/duration"
|
||||||
import isSameOrAfter from "dayjs/plugin/isSameOrAfter"
|
import isSameOrAfter from "dayjs/plugin/isSameOrAfter"
|
||||||
import isSameOrBefore from "dayjs/plugin/isSameOrBefore"
|
import isSameOrBefore from "dayjs/plugin/isSameOrBefore"
|
||||||
|
|
@ -19,6 +19,5 @@ dayjsbr.extend(isSameOrAfter)
|
||||||
dayjsbr.extend(minMax)
|
dayjsbr.extend(minMax)
|
||||||
dayjsbr.extend(relativeTime)
|
dayjsbr.extend(relativeTime)
|
||||||
dayjsbr.extend(duration)
|
dayjsbr.extend(duration)
|
||||||
dayjsbr.locale("pt-br")
|
|
||||||
|
|
||||||
export { dayjsbr }
|
export { dayjsbr }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue