wallet-core/config/rollup.config.aliases.js
Florian Dold 30b577138d Squashed 'thirdparty/preact/' content from commit b2d90cc
git-subtree-dir: thirdparty/preact
git-subtree-split: b2d90cc116f1d1998f7a7c98dc6986bf4c1841f4
2016-10-04 11:50:26 +02:00

13 lines
331 B
JavaScript

import memory from 'rollup-plugin-memory';
import rollupConfig from './rollup.config';
export default Object.assign({}, rollupConfig, {
plugins: [
memory({
path: 'src/preact',
contents: `import { h } from './preact';export * from './preact';export { h as createElement };`
}),
...rollupConfig.plugins.slice(1)
]
});