一覧へ戻る
wenyan-lang/rollup-plugin(新しいタブで開きます)
主要言語: JavaScript
文言鋪蓋 - Rollup plugin for wenyan-lang
- star 数
- 2
- watcher 数
- 1
- fork 数
- 1
- issue 数
- 1
- 最終更新
- 2024/09/27
主要言語: JavaScript
文言鋪蓋 - Rollup plugin for wenyan-lang
Rollup.js plugin for wenyan-lang
npm i -D @wenyan/rollup-plugin @wenyan/core
import wenyan from '@wenyan/rollup-plugin' export default ({ input: '圖靈機.wy', output: { file: 'dist/turing.js', format: 'cjs', }, plugins: [ wenyan({ // options of wenyan.compile strict: true, romanizeIdentifiers: 'pinyin', // ...etc }), ], })
The options field well passed to the wenyan compile function. Check this doc for details.
You can also check out the examples.