Skip to content

Commit

Permalink
Merge branch 'master' into improve-id-resolution
Browse files Browse the repository at this point in the history
# Conflicts:
#	docs/05-plugins.md
#	src/Chunk.ts
#	src/ModuleLoader.ts
#	src/rollup/types.d.ts
#	src/utils/assetHooks.ts
#	src/utils/defaultPlugin.ts
#	src/utils/error.ts
#	src/utils/pluginDriver.ts
#	test/function/samples/emit-chunk/chunk-not-found/_config.js
  • Loading branch information
lukastaegert committed May 3, 2019
2 parents 4ea1620 + 18829da commit 131ed0f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,7 @@

### Pull Requests
* [#2821](https://github.com/rollup/rollup/pull/2821): Fix syntax error in documentation (@FFxSquall)
* [#2832](https://github.com/rollup/rollup/pull/2821): Improve `generateBundle` documentation (@lukastaegert)

## 1.10.1
*2019-04-19*
Expand Down
2 changes: 2 additions & 0 deletions docs/05-plugins.md
Expand Up @@ -112,13 +112,15 @@ Called at the end of `bundle.generate()` or immediately before the files are wri
// ChunkInfo
{
code: string,
dynamicImports: string[],
exports: string[],
facadeModuleId: string | null,
fileName: string,
imports: string[],
isDynamicEntry: boolean,
isEntry: boolean,
map: SourceMap | null,
modules: {
[id: string]: {
renderedExports: string[],
Expand Down
1 change: 1 addition & 0 deletions src/rollup/types.d.ts
Expand Up @@ -195,6 +195,7 @@ export type RenderChunkHook = (
| string
| null;

// TODO this should probably return ResolveIdResult
export type ResolveDynamicImportHook = (
this: PluginContext,
specifier: string | ESTree.Node,
Expand Down

0 comments on commit 131ed0f

Please sign in to comment.