feat(building-rollup): update to rollup v3 + v3 plugins

This commit is contained in:
Thomas Allmer
2023-06-27 14:41:35 +02:00
parent 685e6fd9b4
commit 74b2b35812
8 changed files with 692 additions and 560 deletions

View File

@@ -52,7 +52,7 @@
"rollup"
],
"dependencies": {
"@rocket/building-rollup": "^0.4.0",
"@rocket/building-rollup": "^0.4.1",
"@rocket/engine": "^0.2.7",
"check-html-links": "^0.2.4",
"colorette": "^2.0.16",

View File

@@ -74,7 +74,7 @@ describe('Config', () => {
testOptions: { captureLogs: true },
});
await build();
const inlineModule = await readOutput('e97af63d.js', { format: false });
const inlineModule = await readOutput('ddcef8d1.js', { format: false });
expect(inlineModule).to.equal('var a={test:"data"};console.log(a);\n');
});