Rollup
import { multiply } from './utils.js';

const number = 5;
const result = multiply(number, 2);

console.log(result); // Output: 10
import { multiply } from './utils.js';

const number = 5;
const result = multiply(number, 2);

console.log(result); // Output: 10
export function multiply(a, b) {
  return a * b;
}
export default {
  input: 'main.js', // Entry point of your application
  output: {
    file: 'bundle.js', // Output filename for the bundled code
    format: 'iife', // Format for the bundled code (Immediately Invoked Function Expression)
  },
};
rollup -c // Use the configuration file (rollup.config.js)