Artifact
cc8bbe1505e145e7b2af360fb1d0058687ef7962e51c79b1991200ec3936a226:
import nodeResolve from 'rollup-plugin-node-resolve'
import commonjs from 'rollup-plugin-commonjs'
import alias from 'rollup-plugin-alias'
import buble from 'rollup-plugin-buble'
import path from 'path'
var defaults = require('./defaults')
const tmplPath = path.resolve(process.cwd(), 'node_modules', 'riot-tmpl', 'dist', 'csp.tmpl.js')
export default Object.assign(defaults, {
plugins: [
alias({
'riot-tmpl': tmplPath
}),
nodeResolve({ jsnext: true, main: true }),
commonjs({
include: 'node_modules/**',
namedExports: {
[tmplPath]: ['tmpl', 'brackets']
}
}),
buble()
]
})