21 lines
378 B
JavaScript
21 lines
378 B
JavaScript
|
import nodeResolve from 'rollup-plugin-node-resolve';
|
||
|
import babel from 'rollup-plugin-babel';
|
||
|
|
||
|
export default {
|
||
|
entry: 'devtools/index.js',
|
||
|
external: ['preact'],
|
||
|
format: 'umd',
|
||
|
globals: {
|
||
|
preact: 'preact'
|
||
|
},
|
||
|
moduleName: 'preactDevTools',
|
||
|
plugins: [
|
||
|
babel({
|
||
|
sourceMap: true,
|
||
|
loose: 'all',
|
||
|
blacklist: ['es6.tailCall'],
|
||
|
exclude: 'node_modules/**'
|
||
|
})
|
||
|
]
|
||
|
}
|