From 475712467492b100e916e607f441e13fe896bb42 Mon Sep 17 00:00:00 2001 From: Christopher Date: Thu, 19 Sep 2024 14:06:38 +0200 Subject: [PATCH] Update rollup.config.js After running npm audit fix (or before I don't know if the audit created the issue), the terser import created the error: [!] TypeError: Invalid module "@rollup-plugin-terser" is not a valid package name imported from C:\Users\yanameboi\source\lit-element-starter-js\rollup.config.js when "npm run docs " --- rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index 2c081d8..2b20b7f 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -5,7 +5,7 @@ */ import summary from 'rollup-plugin-summary'; -import {terser} from 'rollup-plugin-terser'; +import terser from '@rollup/plugin-terser'; import resolve from '@rollup/plugin-node-resolve'; import replace from '@rollup/plugin-replace';