NoobsArePeople2
NoobsArePeople2

Reputation: 1996

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.

Upvotes: 3

Views: 1046

Answers (1)

Louay Alakkad
Louay Alakkad

Reputation: 7408

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

Upvotes: 1

Related Questions