babel-plugin-detect-haiku

1.0.2 • Public • Published

babel-plugin-detect-haiku

ビルド時にソースコードから 575 を見つける babel-plugin

これは クソアプリ Advent Calendar 2019の 19 日目の記事である、ビルド時に俳句を読めるプラグイン のために開発されたものです。

導入

babel とプラグインの導入

$ yarn add -D babel babel-plugin-detect-haiku

設定ファイル(babelrc など)を編集

module.exports = {
  // 中略
  plugins: ["detect-haiku"]
};

動作例や設定例は、 575-detect-plugin-example を参考ください。

開発

モジュールインストール

$ yarn install

実行

$ yarn run start

公開前にドライラン

$ tar -tf $(npm pack)

npm に公開

$ npm publish

Readme

Keywords

none

Package Sidebar

Install

npm i babel-plugin-detect-haiku

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

2.01 kB

Total Files

4

Last publish

Collaborators

  • sadness.ojisan