mirror of
https://scm.univ-tours.fr/22107988t/rappaurio-sae501_502.git
synced 2025-08-29 08:35:58 +02:00
18 lines
339 B
JavaScript
18 lines
339 B
JavaScript
import babel from 'rollup-plugin-babel';
|
|
import uglify from 'rollup-plugin-uglify';
|
|
|
|
export default {
|
|
entry: 'index.js',
|
|
dest: 'build/bundle.min.js',
|
|
format: 'cjs',
|
|
sourceMap: 'inline',
|
|
plugins: [
|
|
babel({
|
|
babelrc: false,
|
|
presets: ['es2015-rollup'],
|
|
exclude: 'node_modules/**',
|
|
}),
|
|
uglify(),
|
|
],
|
|
};
|