aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/preact/config/rollup.config.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-10-04 11:50:26 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-10-04 11:50:26 +0200
commit133a8c672c26609e9d56d4e184b779ca26971a8c (patch)
treef3aa4779a75279c95553cd68dd2a3bbe5e5b9dde /thirdparty/preact/config/rollup.config.js
parent0697c987c5314232056a86fa128b518c866d2f12 (diff)
parent30b577138dda685f65a8529be1866afa6e321845 (diff)
downloadwallet-core-133a8c672c26609e9d56d4e184b779ca26971a8c.tar.xz
Merge commit '30b577138dda685f65a8529be1866afa6e321845' as 'thirdparty/preact'
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/**'
+ })
+ ]
+};