diff --git a/src/packages/excalidraw/CHANGELOG.md b/src/packages/excalidraw/CHANGELOG.md index b6ab7443..72c616a5 100644 --- a/src/packages/excalidraw/CHANGELOG.md +++ b/src/packages/excalidraw/CHANGELOG.md @@ -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 diff --git a/src/packages/excalidraw/webpack.dev.config.js b/src/packages/excalidraw/webpack.dev.config.js index fb752e24..9e8180f5 100644 --- a/src/packages/excalidraw/webpack.dev.config.js +++ b/src/packages/excalidraw/webpack.dev.config.js @@ -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", diff --git a/src/packages/excalidraw/webpack.prod.config.js b/src/packages/excalidraw/webpack.prod.config.js index 00c57d83..0450d36f 100644 --- a/src/packages/excalidraw/webpack.prod.config.js +++ b/src/packages/excalidraw/webpack.prod.config.js @@ -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",