Skip to content

Commit

Permalink
Merge pull request #51 from spoo-bar/fixing-missing-webpack-export-
Browse files Browse the repository at this point in the history
fix: fixed missing webpack export of `bufferutil` and `utf-8-validate`
  • Loading branch information
spoo-bar authored Apr 4, 2023
2 parents 1069e29 + bd0d009 commit b6b4fed
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ All notable changes to the Cosmy Wasmy extension will be documented in this file

- Updated Archway constantine-1 to constantine-2 configuration in present chain config

### Fixed

- Fixed missing webpack export of `bufferutil` and `utf-8-validate`

## [v2.0.0] - 24 March 2023

Wohoooo!! 🎉
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ const extensionConfig = {
libraryTarget: 'commonjs2'
},
externals: {
bufferutil: "bufferutil",
"utf-8-validate": "utf-8-validate",
vscode: 'commonjs vscode' // the vscode-module is created on-the-fly and must be excluded. Add other modules that cannot be webpack'ed, 📖 -> https://webpack.js.org/configuration/externals/
// modules added here also need to be added in the .vscodeignore file
},
Expand Down

0 comments on commit b6b4fed

Please sign in to comment.