0.0.5: fix, try to resolve sensible entrynames even if files were imported with an absolute path
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-05-20 23:39:14 +02:00
parent ba09aaf915
commit 48dcdefee1
5 changed files with 25 additions and 17 deletions

View File

@@ -1,4 +1,4 @@
import {join, dirname} from "node:path";
import {resolve, join, dirname} from "node:path";
import test from "ava";
import { rollup } from "rollup";
@@ -21,7 +21,7 @@ test.serial('multi-entry', async (t) => {
const bundle = await rollup({
input: {
['index']: 'index.html',
['admin/index']: 'admin/index.html'
['admin/index']: resolve(__dirname,'fixtures','admin/index.html'),
},
plugins: [
html({