summaryrefslogtreecommitdiff
path: root/thirdparty/preact/config/rollup.config.aliases.js
blob: e5c549fc3499364e0757eeb21da67fbefb540d73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)
	]
});