Skip to content

Commit

Permalink
Fix wrong deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Sep 9, 2019
1 parent 96e691b commit 47b57dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rollup/index.ts
Expand Up @@ -276,7 +276,7 @@ export default async function rollup(rawInputOptions: GenericConfigObject): Prom
const file = outputBundle[key] as any;
if (!file.type) {
graph.warnDeprecation(
'A plugin is directly adding properties to the bundle object in the "generateBundle" hook. This is deprecated and will be removed in a future Rollup version, please use "this.emitAsset" instead.',
'A plugin is directly adding properties to the bundle object in the "generateBundle" hook. This is deprecated and will be removed in a future Rollup version, please use "this.emitFile" instead.',
false
);
file.type = 'asset';
Expand Down

0 comments on commit 47b57dd

Please sign in to comment.