diff --git a/packages/plugin-legacy/index.js b/packages/plugin-legacy/index.js index 3eb0e863bf7bb1..56ba4c10122161 100644 --- a/packages/plugin-legacy/index.js +++ b/packages/plugin-legacy/index.js @@ -563,7 +563,7 @@ module.exports = viteLegacyPlugin viteLegacyPlugin.default = viteLegacyPlugin -viteLegacyPlugin.cpsHashes = [ +viteLegacyPlugin.cspHashes = [ createHash('sha256').update(safari10NoModuleFix).digest('base64'), createHash('sha256').update(systemJSInlineCode).digest('base64') ]