do not clean up router-slot now that its moved

This commit is contained in:
Niels Lyngsø
2023-09-14 14:39:02 +02:00
committed by Jacob Overgaard
parent 20818ffe84
commit 62f77eeffa

View File

@@ -5,11 +5,6 @@ console.log('[Prepublish] Cleansing package.json');
const packageFile = './package.json';
const packageJson = JSON.parse(readFileSync(packageFile, 'utf8'));
/**
* Here we will modify the package.json to remove dependencies that are not needed in the CMS or does not work on npm.
*/
delete packageJson.dependencies['router-slot'];
// Remove all DevDependencies
delete packageJson.devDependencies;