From 1387da977f43f1478378165378439b398be917e6 Mon Sep 17 00:00:00 2001 From: Dennis Volkmer Date: Fri, 24 Aug 2018 08:56:22 +0200 Subject: [PATCH 1/2] Support babel config changes in preact.conf.js For instance Async/Await Plugin (preact-cli-plugin-async) that accesses the babel conf object while processing the preact.conf.js. Move the .babelrc to the src folder. Otherwise the babel config is not yet processed when the preact.conf.js is being processed by preact. --- template/{ => src}/.babelrc | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename template/{ => src}/.babelrc (100%) diff --git a/template/.babelrc b/template/src/.babelrc similarity index 100% rename from template/.babelrc rename to template/src/.babelrc From cbcd2100f574715c9213e69bf949e7bb6ca5ece7 Mon Sep 17 00:00:00 2001 From: Dennis Volkmer Date: Fri, 24 Aug 2018 10:18:47 +0200 Subject: [PATCH 2/2] Support Async/Await Plugin (preact-cli-plugin-async) Bump preact-cli version to 2.2.1 to support the plugin out of the box. --- template/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/package.json b/template/package.json index cdce2eb..88d70b1 100644 --- a/template/package.json +++ b/template/package.json @@ -24,7 +24,7 @@ "jest": "^21.2.1", "microbundle": "^0.6.0", "node-sass": "^4.5.3", - "preact-cli": "^2.0.2", + "preact-cli": "^2.2.1", "preact-render-to-string": "^3.7.0", "preact-widget-scripts": "^0.6.0", "sass-loader": "^6.0.6"