aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/preact/config/rollup.config.devtools.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-08 15:07:07 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-08 15:19:39 +0100
commitafb9fba64be1f15a3ce3ed31214a704e73e5e8bb (patch)
tree6f69712a8c976178c05144483ff0c8e9b09445c8 /thirdparty/preact/config/rollup.config.devtools.js
parentb37e7762bb5492cbd6788863232e7d2634ab5e5c (diff)
parent6e5fb04d3f3f9a6cd43ac20896d73321dd079f96 (diff)
Update preact version
Diffstat (limited to 'thirdparty/preact/config/rollup.config.devtools.js')
-rw-r--r--thirdparty/preact/config/rollup.config.devtools.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/thirdparty/preact/config/rollup.config.devtools.js b/thirdparty/preact/config/rollup.config.devtools.js
new file mode 100644
index 000000000..1fb90b238
--- /dev/null
+++ b/thirdparty/preact/config/rollup.config.devtools.js
@@ -0,0 +1,20 @@
+import nodeResolve from 'rollup-plugin-node-resolve';
+import babel from 'rollup-plugin-babel';
+
+export default {
+ entry: 'devtools/index.js',
+ external: ['preact'],
+ format: 'umd',
+ globals: {
+ preact: 'preact'
+ },
+ moduleName: 'preactDevTools',
+ plugins: [
+ babel({
+ sourceMap: true,
+ loose: 'all',
+ blacklist: ['es6.tailCall'],
+ exclude: 'node_modules/**'
+ })
+ ]
+}