add preact with webpack

This commit is contained in:
Thomas Ruoff
2017-02-15 00:46:54 +01:00
parent 316d05790b
commit 7668fc3837
15 changed files with 229 additions and 3 deletions

8
config/babel.js Normal file
View File

@@ -0,0 +1,8 @@
module.exports = {
presets: [
['es2015', {modules: false}]
],
plugins: [
['transform-react-jsx', {pragma: 'h'}]
]
};