Open killghost opened 8 months ago
Could be an asset read like fs.readFile('./foo.js')
Also could be from --asset-builds
flag.
import pinyin from "pinyin";
console.log(pinyin("中心")); // [ [ 'zhōng' ], [ 'xīn' ] ]
console.log(pinyin("中心", { heteronym: true, // 启用多音字模式 })); // [ [ 'zhōng', 'zhòng' ], [ 'xīn' ] ] consol
iuse this lib in typescript script project
Are there multiple js files in the directory packaged by NCC?
const pinyins = await nccwpck_require.e(/ import() / 346).then(nccwpck_require.t.bind(__nccwpck_require__, 4346, 23));
index.js 346.index.js Can anyone tell me why this is?