1602 / 1602/elm-app-webcomponent

Disable runtime chunk fixes

Open Beginner friendly
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6
Forks
0
PR merge metrics
No merged PRs in 30d

Description

https://github.com/1602/elm-app-webcomponent/blob/2faf510866c090c693207a08124e8b46761f2f4b/index.js#L36

https://github.com/halfzebra/create-elm-app/blob/6e023a5a5eb2f35ea4e03902ce3b410a84e67330/config/webpack.config.prod.js#L136

I think the option is called ` config.optimization.runtimeChunk` (without `s`).

Setting the chunk file name should then not be necessary anymore:
https://github.com/1602/elm-app-webcomponent/blob/2faf510866c090c693207a08124e8b46761f2f4b/index.js#L13

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue points to index.js line 36 and line 13, and references a webpack config from another project. Start by examining the current webpack configuration in the repository to understand how runtimeChunk is set. The fix involves updating the property name and removing the unnecessary chunk filename setting. Check the webpack documentation for runtimeChunk to confirm the correct syntax. Verify the change by building the project.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.