fix: transpile browser-fs-access in package build (#5041)

This commit is contained in:
jasonphillips 2022-05-24 08:07:05 -05:00 committed by GitHub
parent 90e739d444
commit d08179c215
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -91,6 +91,12 @@ In Browser :point_down:
React.createElement(ExcalidrawLib.Excalidraw, opts);
```
### Excalidraw Library
#### Chore
- Transpile `browser-fs-access` dependency so that its `for await` syntax doesn't force es2018 requirement onto dependent projects [#5041](https://github.com/excalidraw/excalidraw/pull/5041).
## 0.11.0 (2022-02-17)
## Excalidraw API

View File

@ -44,7 +44,7 @@ module.exports = {
},
{
test: /\.(ts|tsx|js|jsx|mjs)$/,
exclude: /node_modules/,
exclude: /node_modules\/(?!browser-fs-access)/,
use: [
{
loader: "ts-loader",

View File

@ -46,7 +46,7 @@ module.exports = {
},
{
test: /\.(ts|tsx|js|jsx|mjs)$/,
exclude: /node_modules/,
exclude: /node_modules\/(?!browser-fs-access)/,
use: [
{
loader: "ts-loader",