Readme and license
This commit is contained in:
parent
b8be5e9bf5
commit
55d748faaf
|
@ -0,0 +1,22 @@
|
||||||
|
(The MIT License)
|
||||||
|
|
||||||
|
Copyright (c) 2012 Tobias Koppers
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of this software and associated documentation files (the
|
||||||
|
'Software'), to deal in the Software without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be
|
||||||
|
included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||||
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
19
README.md
19
README.md
|
@ -572,22 +572,27 @@ else `stats` as json:
|
||||||
"main": "output.js",
|
"main": "output.js",
|
||||||
"namedChunk": "1.output.js"
|
"namedChunk": "1.output.js"
|
||||||
}
|
}
|
||||||
|
dependencies: [ "filename", ... ],
|
||||||
|
loaders: [ "filename of loader", ... ]
|
||||||
|
contexts: [ "dirname of context", ... ]
|
||||||
warnings: [ "Some warning" ],
|
warnings: [ "Some warning" ],
|
||||||
errors: [ "Some error" ],
|
errors: [ "Some error" ],
|
||||||
fileModules: {
|
fileModules: {
|
||||||
"output.js": [
|
"output.js": [
|
||||||
{ id: 0, size: 123, filename: "/home/.../main.js", reasons: [
|
{
|
||||||
{ type: "main" }
|
id: 0,
|
||||||
],
|
size: 123,
|
||||||
|
filename: "/home/.../main.js",
|
||||||
|
reasons: [ { type: "main" } ],
|
||||||
dependencies: [ "filename", ... ],
|
dependencies: [ "filename", ... ],
|
||||||
loaders: [ "filename of loader", ... ]
|
loaders: [ "filename of loader", ... ]
|
||||||
},
|
},
|
||||||
{ id: 1, size: 234, filename: "...", reasons: [
|
{ id: 1, size: 234, filename: "...", reasons: [
|
||||||
{ type: "require", // or "context", "async require", "async context"
|
{ type: "require", // or "context", "async require", "async context"
|
||||||
count: 2,
|
count: 2,
|
||||||
filename: "/home/.../main.js",
|
filename: "/home/.../main.js",
|
||||||
// or dirname: "..." // for type = "context" or "async context"
|
// additionally: dirname: "..." // for type = "context" or "async context"
|
||||||
}
|
}
|
||||||
]},
|
]},
|
||||||
...
|
...
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/*
|
||||||
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
||||||
|
Author Tobias Koppers @sokra
|
||||||
|
*/
|
||||||
var child_process = require("child_process");
|
var child_process = require("child_process");
|
||||||
|
|
||||||
function Workers(moduleToFork, count) {
|
function Workers(moduleToFork, count) {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/*
|
||||||
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
||||||
|
Author Tobias Koppers @sokra
|
||||||
|
*/
|
||||||
var fs = require("fs");
|
var fs = require("fs");
|
||||||
var parse = require("./parse");
|
var parse = require("./parse");
|
||||||
var execLoaders = require("enhanced-require/lib/execLoaders");
|
var execLoaders = require("enhanced-require/lib/execLoaders");
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/*
|
||||||
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
||||||
|
Author Tobias Koppers @sokra
|
||||||
|
*/
|
||||||
var buildModule = require("./buildModule");
|
var buildModule = require("./buildModule");
|
||||||
var resolve = require("enhanced-resolve");
|
var resolve = require("enhanced-resolve");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue