mirror of
https://github.com/getformwork/formwork.git
synced 2025-01-17 21:49:04 +01:00
14 lines
382 B
JavaScript
14 lines
382 B
JavaScript
import commonjs from '@rollup/plugin-commonjs';
|
|
import resolve from '@rollup/plugin-node-resolve';
|
|
import terser from '@rollup/plugin-terser';
|
|
|
|
export default {
|
|
input: 'assets/js/src/main.js',
|
|
output: {
|
|
file: 'assets/js/app.min.js',
|
|
format: 'iife',
|
|
name: 'Formwork'
|
|
},
|
|
plugins: [resolve(), commonjs(), terser({format: {comments: false}})]
|
|
};
|