ice
ice copied to clipboard
@ice/plugin-moment-locales: Failed to convert napi value into rust type `bool`
Describe the bug
An exception occurs when plug-in @ice/plugin-moment-locales is added to the ice.config.mts configuration file.
Environment: Node: v20.18.1 OS: Mac OS Sequoia 15.3 Chip: Apple M3
Expected behavior
Runing
Actual behavior
No response
Version of ice.js
3.5.1
Content of build.json or ice.config.mts
import { defineConfig } from '@ice/app';
import moment from '@ice/plugin-moment-locales';
export default defineConfig(() => ({
// console 等级为 trace < debug < log < info < warn < error
dropLogLevel: 'log',
plugins: [moment({ locales: ['en-US', 'zh-CN'] })],
}));
Additional context
No response
@ice/plugin-moment-locales does not support speedup mode yet. We will implement it in the next major version.