Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

destyk
Copy link
Contributor

@destyk destyk commented Mar 28, 2023

If webpack is used to build the application, we must use function __non_webpack_require__ to include third-party files.

This is mentioned here.

@destyk destyk requested a review from JoshuaWise as a code owner March 28, 2023 13:26
mceachen
mceachen previously approved these changes Apr 19, 2023
Copy link
Member

@mceachen mceachen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@destyk destyk requested a review from a team as a code owner June 19, 2023 08:31
@destyk destyk changed the title Added webpack support feat(database): now nativeBinding supports addon object Jun 19, 2023
@destyk destyk requested a review from mceachen June 19, 2023 08:40
@destyk
Copy link
Contributor Author

destyk commented Jul 26, 2023

@JoshuaWise @mceachen Many users are waiting for merge this PR

@JoshuaWise JoshuaWise merged commit 3400cb0 into WiseLibs:master Sep 2, 2023
ArGeoph pushed a commit to ArGeoph/better-sqlite3 that referenced this pull request Mar 21, 2025
* Added `webpack` support

* changed from `webpack_require` to `non_webpack_require`

* Update database.js

Added URL to webpack documentation

* feat(database): now `nativeBinding` supports addon object

* style(package): line break removed

---------

Co-authored-by: Matthew McEachen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants