From 47b57dddb42d470d92db2e7b13ab9158b18caac6 Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Mon, 9 Sep 2019 11:25:19 +0200 Subject: [PATCH] Fix wrong deprecation message --- src/rollup/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rollup/index.ts b/src/rollup/index.ts index 746ba9f7517..0aeffbb597f 100644 --- a/src/rollup/index.ts +++ b/src/rollup/index.ts @@ -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';