diff --git a/rollup.config.js b/rollup.config.js index e5d6150..b53b7ae 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -5,13 +5,15 @@ const pkg = require('./package.json'); const banner = `/*! ${pkg.title} v${pkg.version} (${new Date().toString().substr(4, 11)}) - ${pkg.homepage} - Copyright (c) ${new Date().getFullYear()} Leonardo Santos; MIT License */`; export default { - entry: 'src/menuspy.js', - dest: 'dist/menuspy.js', - format: 'umd', - moduleName: 'MenuSpy', + input: 'src/menuspy.js', + output: { + name: 'MenuSpy', + file: 'dist/menuspy.js', + format: 'umd', + banner: banner + }, plugins: [ eslint(), buble() - ], - banner: banner -}; \ No newline at end of file + ] +};