src/weight/index.js
import approx from './approx/index.js';
import opt from './opt/index.js';
export default opt;
export {approx, opt};
import approx from './approx/index.js';
import opt from './opt/index.js';
export default opt;
export {approx, opt};