rollup 0.57.0 → 0.57.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/bin/rollup +147 -158
- package/dist/rollup.browser.js +478 -507
- package/dist/rollup.es.js +485 -514
- package/dist/rollup.js +485 -514
- package/dist/typings/Graph.d.ts +1 -2
- package/dist/typings/rollup/index.d.ts +0 -1
- package/dist/typings/utils/collapseSourcemaps.d.ts +2 -2
- package/dist/typings/utils/mergeOptions.d.ts +4 -1
- package/package.json +2 -2
package/dist/typings/Graph.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ export default class Graph {
|
|
|
18
18
|
hasLoaders: boolean;
|
|
19
19
|
isExternal: IsExternalHook;
|
|
20
20
|
isPureExternalModule: (id: string) => boolean;
|
|
21
|
-
legacy: boolean;
|
|
22
21
|
load: (id: string) => Promise<SourceDescription | string | void>;
|
|
23
22
|
handleMissingExport: (exportName: string, importingModule: Module, importedModule: string, importerStart?: number) => void;
|
|
24
23
|
moduleById: Map<string, Module | ExternalModule>;
|
|
@@ -40,7 +39,7 @@ export default class Graph {
|
|
|
40
39
|
buildChunks(entryModuleIds: string[], preserveModules: boolean): Promise<{
|
|
41
40
|
[name: string]: Chunk;
|
|
42
41
|
}>;
|
|
43
|
-
private analyseExecution(entryModules,
|
|
42
|
+
private analyseExecution(entryModules, graphColouring);
|
|
44
43
|
private warnCycle(id, parentId, parents);
|
|
45
44
|
private fetchModule(id, importer);
|
|
46
45
|
private fetchAllDependencies(module);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Module from '../Module';
|
|
2
2
|
import { RawSourceMap } from 'source-map';
|
|
3
3
|
import Chunk from '../Chunk';
|
|
4
|
-
import { SourceMap } from 'magic-string';
|
|
5
|
-
export default function collapseSourcemaps(bundle: Chunk, file: string, map:
|
|
4
|
+
import { SourceMap, DecodedSourceMap } from 'magic-string';
|
|
5
|
+
export default function collapseSourcemaps(bundle: Chunk, file: string, map: DecodedSourceMap, modules: Module[], bundleSourcemapChain: RawSourceMap[]): SourceMap;
|
|
@@ -3,7 +3,10 @@ import { WarningHandler } from '../rollup/index';
|
|
|
3
3
|
export declare type GenericConfigObject = {
|
|
4
4
|
[key: string]: any;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export declare const commandAliases: {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
};
|
|
9
|
+
export default function mergeOptions({config, command: rawCommandOptions, deprecateConfig, defaultOnWarnHandler}: {
|
|
7
10
|
config: GenericConfigObject;
|
|
8
11
|
command?: GenericConfigObject;
|
|
9
12
|
deprecateConfig?: GenericConfigObject;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rollup",
|
|
3
|
-
"version": "0.57.
|
|
3
|
+
"version": "0.57.1",
|
|
4
4
|
"description": "Next-generation ES6 module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/rollup.es.js",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"immutable": "^3.8.2",
|
|
85
85
|
"istanbul": "^0.4.3",
|
|
86
86
|
"lint-staged": "^7.0.0",
|
|
87
|
-
"magic-string": "^0.
|
|
87
|
+
"magic-string": "^0.23.2",
|
|
88
88
|
"minimist": "^1.2.0",
|
|
89
89
|
"mocha": "^5.0.4",
|
|
90
90
|
"prettier": "^1.10.2",
|