
git-subtree-dir: thirdparty/preact git-subtree-split: b2d90cc116f1d1998f7a7c98dc6986bf4c1841f4
13 lines
331 B
JavaScript
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)
|
|
]
|
|
});
|