1602 / 1602/elm-app-webcomponent

Disable runtime chunk fixes

Offen Anfängerfreundlich
#1 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
6
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, webpack
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
65/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.