Skip to content

Commit

Permalink
Fix webpack cjs warning from better-sqlite3
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinovantes committed Sep 11, 2024
1 parent 04fc922 commit 55f00b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/webpack.common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ const commonConfig: webpack.Configuration = {
},
],
},

externals: {
'better-sqlite3': 'commonjs better-sqlite3',
},
}

export default commonConfig

0 comments on commit 55f00b1

Please sign in to comment.