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

update webpack versions and config #59

Merged
merged 3 commits into from
Dec 4, 2024

Conversation

jamesmisson
Copy link
Contributor

This should solve the issue that #56 is having. The updated Webpack needs a new config file, and compatibility with webpack-cli.

Copy link
Contributor

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

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

@jamesmisson, you need to commit package-lock.json along with package.json; the missing lockfile changes are the reason that the build is breaking on this branch.

Copy link

codesandbox-ci bot commented Dec 3, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

node: {
net: 'empty'
},
mode: 'development',
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you think it might be better to default to production? I'm not entirely sure what the differences are, but since we use this build process to create the package for distribution, I'm thinking a production-oriented build might be more appropriate than a dev-oriented build.

Copy link
Contributor

Choose a reason for hiding this comment

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

(And maybe we need a different action to do a dev build for development purposes... I'm sure there must be a best practice around this, but I'm not sure what it is -- maybe we need to look for precedents elsewhere).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Definitely, I'm not sure why I put development here! Fixed.

Copy link
Contributor

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

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

Thanks, @jamesmisson!

@demiankatz demiankatz merged commit 7919c7b into IIIF-Commons:master Dec 4, 2024
1 check passed
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