𝕺𝖑𝖉𝖎𝖋𝖞
𝔗𝔯𝔞𝔫𝔰𝔣𝔬𝔯𝔪 𝔶𝔬𝔲𝔯 𝔠𝔬𝔡𝔢 𝔱𝔬 𝔱𝔥𝔢 𝔬𝔩𝔡𝔢𝔫 𝔡𝔞𝔶𝔰 𝔴𝔦𝔱𝔥 𝔒𝔩𝔡𝔦𝔣𝔶.
𝕺𝖕𝖙𝖎𝖔𝖓𝖘
.oldifyrc
{
"src": "src",
"output": "dist",
"bold": true,
"parse": false,
"ignore": ["node_modules"]
}
𝕻𝖆𝖗𝖆𝖒𝖊𝖙𝖊𝖗 | 𝕿𝖞𝖕𝖊 | 𝕯𝖊𝖘𝖈𝖗𝖎𝖕𝖙𝖎𝖔𝖓 |
---|---|---|
src |
𝖘𝖙𝖗𝖎𝖓𝖌 | 𝕾𝖔𝖚𝖗𝖈𝖊 𝖉𝖎𝖗𝖊𝖈𝖙𝖔𝖗𝖞 𝖙𝖔 𝖘𝖈𝖆𝖓 𝖋𝖔𝖗 𝖋𝖎𝖑𝖊𝖘 𝖆𝖓𝖉 𝖋𝖔𝖑𝖉𝖊𝖗𝖘. 𝕯𝖊𝖋𝖆𝖚𝖑𝖙 𝖎𝖘 . ; |
output |
𝖘𝖙𝖗𝖎𝖓𝖌 | 𝕺𝖚𝖙𝖕𝖚𝖙 𝖉𝖎𝖗𝖊𝖈𝖙𝖔𝖗𝖞 𝖙𝖔 𝖕𝖑𝖆𝖈𝖊 𝖈𝖔𝖓𝖛𝖊𝖗𝖙𝖊𝖉 𝖋𝖎𝖑𝖊𝖘 𝖆𝖓𝖉 𝖋𝖔𝖑𝖉𝖊𝖗𝖘. 𝕯𝖊𝖋𝖆𝖚𝖑𝖙 𝖎𝖘 dist . |
bold |
𝖇𝖔𝖔𝖑𝖊𝖆𝖓 | 𝖀𝖘𝖊𝖘 𝖇𝖔𝖑𝖉 𝖋𝖔𝖓𝖙 𝖜𝖊𝖎𝖌𝖍𝖙 𝖎𝖓 𝖙𝖗𝖆𝖓𝖘𝖕𝖎𝖑𝖆𝖙𝖎𝖔𝖓. 𝕯𝖊𝖋𝖆𝖚𝖑𝖙 𝖎𝖘 false . |
parse |
𝖇𝖔𝖔𝖑𝖊𝖆𝖓 | 𝕻𝖆𝖗𝖘𝖊𝖘 𝖔𝖑𝖉𝖎𝖋𝖎𝖊𝖉 𝖙𝖊𝖝𝖙 𝖇𝖆𝖈𝖐 𝖎𝖓𝖙𝖔 𝖗𝖊𝖌𝖚𝖑𝖆𝖗 𝖙𝖊𝖝𝖙. 𝕯𝖊𝖋𝖆𝖚𝖑𝖙 𝖎𝖘 false . |
ignore |
𝖆𝖗𝖗𝖆𝖞 𝖔𝖋 𝖘𝖙𝖗𝖎𝖓𝖌𝖘 | 𝕬𝖓 𝖆𝖗𝖗𝖆𝖞 𝖔𝖋 𝖉𝖎𝖗𝖊𝖈𝖙𝖔𝖗𝖎𝖊𝖘 𝖔𝖗 𝖋𝖎𝖑𝖊𝖘 𝖙𝖔 𝖎𝖌𝖓𝖔𝖗𝖊. |
𝖀𝖘𝖆𝖌𝖊
ℭ𝔬𝔪𝔪𝔞𝔫𝔡 𝔏𝔦𝔫𝔢
npm install -g oldify
oldify src dist --bold
𝔑𝔬𝔡𝔢𝔍𝔖
const oldify = require('oldify');
// 𝕿𝖗𝖆𝖓𝖘𝖕𝖎𝖑𝖊𝖘 𝖋𝖎𝖑𝖊𝖘 𝖆𝖓𝖉 𝖙𝖍𝖊𝖎𝖗 𝖉𝖎𝖗𝖊𝖈𝖙𝖔𝖗𝖎𝖊𝖘
oldify('src', 'dist', { bold: true });
// 𝕿𝖗𝖆𝖓𝖘𝖕𝖎𝖑𝖊𝖘 𝖆 𝖘𝖙𝖗𝖎𝖓𝖌
oldify.transpile('input', { bold: true });