film-exif/rollup.config.js

31 lines
687 B
JavaScript
Raw Normal View History

import babel from 'rollup-plugin-babel';
2018-06-06 09:57:40 -04:00
import copy from 'rollup-plugin-copy';
import commonjs from 'rollup-plugin-commonjs';
import resolve from 'rollup-plugin-node-resolve';
export default {
2018-06-06 09:57:40 -04:00
input: './src/index.js',
output: {
2018-06-06 09:57:40 -04:00
file: './build/bundle.js',
format: 'iife',
sourcemap: true,
},
plugins: [
2018-06-06 09:57:40 -04:00
copy({
'public/index.html': 'build/index.html',
'public/favicon.ico': 'build/favicon.ico',
'public/css/bootstrap.css': 'build/css/bootstrap.css',
'public/css/app.css': 'build/css/app.css',
}),
2019-01-11 16:32:52 -05:00
resolve(),
commonjs({
include: 'node_modules/**',
exclude: 'src/**',
}),
babel({
exclude: 'node_modules/**',
2019-01-11 16:32:52 -05:00
runtimeHelpers: true,
}),
],
};