Web pages are often built of several high-level building blocks, like <Navigation>
, <Content>
, <Aside>
and <Footer>
. A typical web page looks roughly like this:
<html>
<head>
/******/ (function(modules) { // webpackBootstrap | |
/******/ // The module cache | |
/******/ var installedModules = {}; | |
/******/ // The require function | |
/******/ function __webpack_require__(moduleId) { | |
/******/ // Check if module is in cache | |
/******/ if(installedModules[moduleId]) | |
/******/ return installedModules[moduleId].exports; |
test |
class DuplicateDependenciesError extends Error { | |
constructor(duplicateDependencies) { | |
super(); | |
Error.captureStackTrace(this, DuplicateDependenciesError); | |
const messages = duplicateDependencies.map(helpfulErrorMessage); | |
const dedupedMessages = dedupeMessages({})(messages); | |
this.name = "DuplicateDependenciesError"; | |
this.message = "compilation\nDuplicate dependencies found:\n" + dedupedMessages.join("\n"); |
[ | |
{ | |
"name": "freeCodeCamp/freeCodeCamp", | |
"description": "The https://freeCodeCamp.com open source codebase and curriculum. Learn to code and help nonprofits.", | |
"stars": 266038, | |
"type": "other" | |
}, | |
{ | |
"name": "twbs/bootstrap", | |
"description": "The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.", |
[ | |
"2015-05-30T00:12:13Z", | |
"2015-05-30T02:40:26Z", | |
"2015-05-30T08:24:06Z", | |
"2015-05-30T10:05:08Z", | |
"2015-05-30T10:33:28Z", | |
"2015-05-30T15:12:24Z", | |
"2015-05-30T17:04:57Z", | |
"2015-05-30T20:20:12Z", | |
"2015-05-30T21:58:50Z", |
[ | |
"2013-05-29T20:59:49Z", | |
"2013-05-29T21:18:36Z", | |
"2013-05-29T21:19:34Z", | |
"2013-05-29T21:20:23Z", | |
"2013-05-29T21:20:24Z", | |
"2013-05-29T21:20:24Z", | |
"2013-05-29T21:20:33Z", | |
"2013-05-29T21:20:55Z", | |
"2013-05-29T21:22:29Z", |
[ | |
"2013-08-09T04:48:33Z", | |
"2013-10-13T09:14:30Z", | |
"2013-10-14T22:25:14Z", | |
"2013-10-15T00:11:43Z", | |
"2013-11-03T01:11:46Z", | |
"2013-11-19T06:14:53Z", | |
"2013-12-05T16:15:28Z", | |
"2013-12-24T12:29:11Z", | |
"2014-01-08T18:56:13Z", |
[ | |
"2014-09-29T20:45:14Z", | |
"2014-09-30T12:13:06Z", | |
"2014-09-30T12:15:17Z", | |
"2014-10-01T05:30:17Z", | |
"2014-10-01T05:31:02Z", | |
"2014-10-01T06:37:08Z", | |
"2014-10-01T20:10:12Z", | |
"2014-10-01T21:28:17Z", | |
"2014-10-02T07:28:39Z", |
[ | |
"2010-01-06T00:34:37Z", | |
"2010-01-06T00:34:37Z", | |
"2010-01-06T00:34:37Z", | |
"2010-01-06T00:34:37Z", | |
"2010-01-06T00:34:37Z", | |
"2010-01-06T00:34:37Z", | |
"2010-01-06T00:34:37Z", | |
"2010-01-06T00:34:37Z", | |
"2010-01-06T00:34:37Z", |