Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code `jsconfig.json` "module" option

I'm using jsconfig.json to configure Visual Studio code to enable ES6 support in my project. In the compilerOptions node of the config file there is an option called "module" that takes one of four possible values:

  1. commonjs
  2. amd
  3. system
  4. umd

I understand that commonjs, amd and umd are JS module systems.

My question is what is the system value? It sounds like a "default, inherit the setting from elsewhere" type of setting but I cannot find any documentation on it.

like image 473
NoobsArePeople2 Avatar asked Sep 27 '26 02:09

NoobsArePeople2


1 Answers

It's ES6's System module loader, which was removed in 2014.

Here's an example of how it looks like: https://github.com/ModuleLoader/es6-module-loader

like image 118
Louay Alakkad Avatar answered Sep 28 '26 21:09

Louay Alakkad



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!