kantord / LibreLingo

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

Update ts-loader to v9 #1663

Open kantord opened 3 years ago

kantord commented 3 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 3 years ago

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

kantord commented 3 years ago

go for it @jcasteele !

fitrahmunir commented 2 years ago

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

kantord commented 2 years ago

ok @fitrahfm ! go for it! :rocket:

fitrahmunir commented 2 years 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 2 years 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!