File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 1313 "modules" : false
1414 }
1515 ]
16- ],
17- "plugins" : [
18- " external-helpers"
1916 ]
2017 }
2118 }
Original file line number Diff line number Diff line change 66 "scripts" : {
77 "test" : " jest" ,
88 "lint" : " echo start lint && ./node_modules/.bin/eslint src/* test/*" ,
9- "build" : " rollup -c"
9+ "build" : " BABEL_ENV=build rollup -c"
1010 },
1111 "pre-commit" : [
1212 " lint"
Original file line number Diff line number Diff line change @@ -173,10 +173,10 @@ class Dayjs {
173173 daysInMonth ( ) {
174174 return new Dayjs ( new Date ( this . year ( ) , this . month ( ) + 1 , 0 ) ) . date ( )
175175 }
176- }
177176
178- export default ( config ) => {
179- const d = new Dayjs ( config )
180- d . clone = ( ) => new Dayjs ( d )
181- return d
177+ clone ( ) {
178+ return new Dayjs ( this )
179+ }
182180}
181+
182+ export default config => ( new Dayjs ( config ) )
You can’t perform that action at this time.
0 commit comments