Closed huozhi closed 1 year ago
@huozhi What happens with this?
// client/foo.tsx
'use client';
'use strict';
// client/bar.tsx
'use strict';
'use client';
// client/index.tsx
export * from './foo';
export * from './bar';
What should the order of directives in the final bundle be?
Good example, it’s not doable after multi files bundling. Found it in one file bundling thought could be the snapshot consistent.
But if you’re using bundle everything strategy now usually you only put one directive at entry file cause there’s no code splitting.
if you have two directives
Expected
should output as
Observed