Skip to content

Added webpack demo #969

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 31, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Updated some text in the README
  • Loading branch information
SilasMarvin committed Aug 31, 2023
commit 3becb539be540229f51cd0147ba778cf7a87271c
4 changes: 1 addition & 3 deletions pgml-sdks/pgml/javascript/examples/webpack/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Webpack Demo

The JavaScript SDK utilizes native node modules as our SDK is written in Rust.

To get it working with webpack, we need a loader that is designed to work with native node modules. In this case, we have opted to use the [node-loader](https://github.com/webpack-contrib/node-loader) module. See [webpack.config.js](./webpack.config.js) for how we configured it.
The JavaScript SDK utilizes native node modules as our SDK is written in Rust. To get it working with webpack, we need a loader that is designed to work with native node modules. In this case, we have opted to use the [node-loader](https://github.com/webpack-contrib/node-loader) module. See [webpack.config.js](./webpack.config.js) for how we configured it.

## Prerequisites

Expand Down