wallet-core/thirdparty/preact/config/rollup.config.js

24 lines
443 B
JavaScript
Raw Normal View History

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/**'
})
]
};