You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
449 B
18 lines
449 B
import riot from 'rollup-plugin-riot'
|
|
import nodeResolve from 'rollup-plugin-node-resolve'
|
|
import commonjs from 'rollup-plugin-commonjs'
|
|
import buble from 'rollup-plugin-buble'
|
|
import uglify from 'rollup-plugin-uglify';
|
|
|
|
export default {
|
|
entry: 'src/scripts/riotblog.js',
|
|
dest: 'build/bundle.js',
|
|
plugins: [
|
|
riot(),
|
|
nodeResolve({ jsnext: true, preferBuiltins: false}),
|
|
commonjs(),
|
|
buble(),
|
|
uglify()
|
|
],
|
|
format: 'iife'
|
|
}
|
|
|