build: export only named exports from the package (#5045)

* build: export only named exports from the package

* update docs

* Update src/packages/excalidraw/CHANGELOG.md

* fix lint
This commit is contained in:
Aakansha Doshi
2022-04-15 18:12:57 +05:30
committed by GitHub
parent 7d4189c624
commit 96c87f920a
6 changed files with 27 additions and 7 deletions
@@ -12,7 +12,7 @@ module.exports = {
},
output: {
path: path.resolve(__dirname, outputDir),
library: "Excalidraw",
library: "ExcalidrawLib",
libraryTarget: "umd",
filename: "[name].js",
chunkFilename: "excalidraw-assets-dev/[name]-[contenthash].js",