sheetjs-clone/demos/parcel/README.md

15 lines
471 B
Markdown
Raw Normal View History

2018-01-27 00:52:46 +00:00
# Parcel
Parcel Bundler starting from version 1.5.0 should play nice with this library
2022-03-07 07:36:36 +00:00
out of the box:
2018-01-27 00:52:46 +00:00
```js
2022-03-07 07:36:36 +00:00
import { read, write, utils } from 'xlsx'
2018-01-27 00:52:46 +00:00
```
Errors of the form `Could not statically evaluate fs call` stem from a parcel
[bug](https://github.com/parcel-bundler/parcel/pull/523#issuecomment-357486164).
Upgrade to version 1.5.0 or later.
[![Analytics](https://ga-beacon.appspot.com/UA-36810333-1/SheetJS/js-xlsx?pixel)](https://github.com/SheetJS/js-xlsx)