24 lines
443 B
JavaScript
24 lines
443 B
JavaScript
|
import nodeResolve from 'rollup-plugin-node-resolve';
|
||
|
import babel from 'rollup-plugin-babel';
|
||
|
import memory from 'rollup-plugin-memory';
|
||
|
|
||
|
export default {
|
||
|
exports: 'named',
|
||
|
useStrict: false,
|
||
|
plugins: [
|
||
|
memory({
|
||
|
path: 'src/preact',
|
||
|
contents: "export * from './preact';"
|
||
|
}),
|
||
|
nodeResolve({
|
||
|
main: true
|
||
|
}),
|
||
|
babel({
|
||
|
sourceMap: true,
|
||
|
loose: 'all',
|
||
|
blacklist: ['es6.tailCall'],
|
||
|
exclude: 'node_modules/**'
|
||
|
})
|
||
|
]
|
||
|
};
|