aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/preact/config/rollup.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/preact/config/rollup.config.js')
-rw-r--r--thirdparty/preact/config/rollup.config.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/thirdparty/preact/config/rollup.config.js b/thirdparty/preact/config/rollup.config.js
new file mode 100644
index 000000000..57f71e1e7
--- /dev/null
+++ b/thirdparty/preact/config/rollup.config.js
@@ -0,0 +1,23 @@
+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/**'
+ })
+ ]
+};