4 ms·
This is what I was most curious about, but it looks like --flat is a cli option but not the default. Definitely moving in the right direction though!
by MatthewPhillips 10y ago
This is what I was most curious about, but it looks like --flat is a cli option but not the default. Definitely moving in the right direction though!
- spankalee 10y ago--flat is the cli option, but there's also "flat": true support in package.json. Used at the top level this forces a flat install, but used in a dependency it means that that package requires a flat install and it throws an error if it's not. This means that HTML imports and ES6 modules can force flat installs and start moving the front-end package ecosystem in that direction.