## 事象
[[csv-split-easy]]をビルドすると以下のようなエラーが出る。
```
ERROR in ./node_modules/ranges-push/dist/ranges-push.esm.js 11:1479
Module parse failed: Unexpected token (11:1479)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
```
## 原因
最新バージョンは[[ESモジュール (JavaScript)|ESモジュール]]にしか対応していないから。
> This package is ESM only: Node 12+ is needed to use it and it must be imported instead of required:
> If you need a legacy version which works with require, use version 5.1.0:
## 対策
[[csv-split-easy]]のv5.1.0を使う。
## 参考
- [csv\-split\-easy \| Codsen](https://codsen.com/os/csv-split-easy/)