ice/packages/plugin-moment-locales
luhc228 b8b1d5e41f
fix: source map url in prod files but the sourceMap files not published (#6511)
* fix: source map url in prod files

* chore: changeset
2023-09-06 10:09:59 +08:00
..
src fix: import path of types and runtime (#5981) 2023-02-28 15:08:10 +08:00
CHANGELOG.md chore: update versions (#5949) 2023-03-02 13:55:59 +08:00
README.md fix: typo (#6164) 2023-04-20 16:32:19 +08:00
package.json fix: source map url in prod files but the sourceMap files not published (#6511) 2023-09-06 10:09:59 +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'],
    }),
  ],
}));