rewire icon indicating copy to clipboard operation
rewire copied to clipboard

doesn't work with import

Open pedramphp opened this issue 8 years ago • 1 comments

import { serviceConfigHelper } from 'utils/configHelper.js';

can't change the serviceConfigHelper with rewire.

pedramphp avatar May 02 '16 07:05 pedramphp

yeah, this is problem as it works with require but not import. I think the issue is that import makes the imported object immutable. This is a big one.

firebait avatar May 27 '16 16:05 firebait