diff --git a/bench/main.js b/bench/main.js index 507795d..b1e521e 100644 --- a/bench/main.js +++ b/bench/main.js @@ -9,7 +9,8 @@ var c = typeof window === 'undefined' ? (await import('cassowary')).default : wi main() async function main() { - const kiwi = await import('@lume/kiwi') + // const kiwi = await import('@lume/kiwi') // self-referencing import does not work due to https://github.com/nodejs/node/issues/50334 + const kiwi = await import('../dist/kiwi.js') var logElement function log(message) { diff --git a/test/main.js b/test/main.js index d864212..47e428d 100644 --- a/test/main.js +++ b/test/main.js @@ -3,7 +3,8 @@ var assert = typeof window === 'undefined' ? (await import('assert')).default : describe('import kiwi', function () { it('imports kiwi', async function () { - const kiwi = await import('@lume/kiwi') + // const kiwi = await import('@lume/kiwi') // self-referencing import does not work due to https://github.com/nodejs/node/issues/50334 + const kiwi = await import('../dist/kiwi.js') describe('kiwi', function () { it('create Solver', function () {