mirror of https://github.com/nodejs/node.git
8 lines
303 B
JavaScript
8 lines
303 B
JavaScript
|
// Flags: --experimental-loader ./test/fixtures/es-module-loaders/loader-with-custom-condition.mjs
|
||
|
import '../common/index.mjs';
|
||
|
import assert from 'assert';
|
||
|
|
||
|
import * as ns from '../fixtures/es-modules/conditional-exports.mjs';
|
||
|
|
||
|
assert.deepStrictEqual({ ...ns }, { default: 'from custom condition' });
|