kantord / LibreLingo

🐢 🌎 📚 a community-owned language-learning platform
https://librelingo.app
GNU Affero General Public License v3.0
1.94k stars 211 forks source link

Update ts-loader to v9 #1663

Open kantord opened 2 years ago

kantord commented 2 years ago

Is your feature request related to a problem? Please describe. This could not be updated automatically due to failing CI. See original PR: https://github.com/kantord/LibreLingo/pull/1252

Describe the solution you'd like

jcasteele commented 2 years ago

I'd be interested in helping to get ts-loader updated

kantord commented 2 years ago

go for it @jcasteele !

fitrahmunir commented 1 year ago

I would like to do this and let you know my results.

kantord commented 1 year ago

ok @fitrahfm ! go for it! :rocket:

fitrahmunir commented 1 year ago

@kantord according from ts-loader changelog the minimum version of webpack is 5. Then I just found out that the current webpack version is 4

{
  "name": "webpack",
  "version": "4.46.0",
  "author": "Tobias Koppers @sokra",
  "description": "Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.",
  "license": "MIT",

  ...

Should I go to upgrade the webpack?

kantord commented 1 year ago

@kantord according from ts-loader changelog the minimum version of webpack is 5. Then I just found out that the current webpack version is 4

{
  "name": "webpack",
  "version": "4.46.0",
  "author": "Tobias Koppers @sokra",
  "description": "Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.",
  "license": "MIT",

  ...

Should I go to upgrade the webpack?

sure, give it a try!