fix: transpile browser-fs-access in package build (#5041)
This commit is contained in:
parent
90e739d444
commit
d08179c215
@ -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
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user