ice/packages/plugin-moment-locales
ClarkXia fbeaf932cb
chore: update versions (#6509)
2023-09-14 10:58:37 +08:00
..
src fix: import path of types and runtime (#5981) 2023-02-28 15:08:10 +08:00
CHANGELOG.md chore: update versions (#6509) 2023-09-14 10:58:37 +08:00
README.md fix: typo (#6164) 2023-04-20 16:32:19 +08:00
package.json chore: update versions (#6509) 2023-09-14 10:58:37 +08:00
tsconfig.json feat: plugin moment locales (#425) 2022-11-15 10:25:00 +08:00

README.md

@ice/plugin-moment-locales

ice.js Plugin for load moment locales and reduce size of moment.

Usage

import { defineConfig } from '@ice/app';
import moment from '@ice/plugin-moment-locales';

export default defineConfig(() => ({
  plugins: [
    moment({
      locales: ['zh-CN'],
    }),
  ],
}));