fusion-cli
Version:
19 lines (14 loc) • 435 B
JavaScript
// @noflow
import {used, unused} from 'fixture-pkg';
import {used2, unused2} from './user-code.js';
if (__NODE__) {
// unused in the browser
console.log(unused, unused2);
}
// unused in the browser
// Note: the tree shaking babel plugin is needed to handle this case until
// https://github.com/webpack/webpack/issues/7519 is resolved
__NODE__ && unused;
__NODE__ && unused2;
console.log(used, used2);
export default () => {};