Skip to content

Conversation

@TebbeUbben
Copy link
Contributor

This PR adds support for Webpack. After running npm run webpack via the command line it will resolve all the dependencies needed for lib/webpack-exports.js, combine them into a single file and output that to build/bundle.js.
This way it is a lot easier to use OpenAPS in other applications since you do not need to care about providing all the required dependencies.
For now it exports only a single function for executing Autotune which can be called by OpenAPS.run_autotune(inputs).

Copy link
Contributor

@scottleibrand scottleibrand left a comment

Choose a reason for hiding this comment

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

LGTM. I've never used webpack, so not sure whether/how exactly the new stuff will work, but it looks safe and backwards compatible to me, so happy to merge unless anyone else wants to do more testing first.

@scottleibrand scottleibrand merged commit 2f742c6 into openaps:dev Feb 27, 2019
scottleibrand added a commit that referenced this pull request Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants