Skip to content
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

Add scripts to rename files output and create bundle directory #15

Merged
merged 3 commits into from
Apr 10, 2024

Conversation

avouspierre
Copy link
Contributor

Allows to copy and rename all js files in a correct name for oiaps and directly in the bundle directory.

Fix error in populate mealInputs with a carb including actualDate
Add plugin to copy files and rename correctly for oiaps
@bjornoleh
Copy link
Contributor

bjornoleh commented Apr 7, 2024

Thanks, nice find! Tested and working.

Now I can simplify the webpack-cp.sh a little. I think that script is still useful though, as it makes sure the files are correctly copied to OiAPS, and with info on oref0 branch name and git reference etc.

I did have to repeat the install of webpack though, as I otherwise got this error:
[webpack-cli] Error: Cannot find module 'copy-rename-webpack-plugin'

To get past that, I did:

npm install --save-dev webpack

@bjornoleh bjornoleh merged commit b8aaf93 into nightscout:dev Apr 10, 2024
bjornoleh added a commit that referenced this pull request Apr 10, 2024
Webpack update to use with copy-rename-webpack-plugin in #15
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.

None yet

2 participants