From 4bd5c2f67968f49cda3c2efcba4dfe2a65096a0f Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Wed, 31 Jan 2018 14:27:05 +0100 Subject: [PATCH] use web pack html --- src/index.html | 11 ----------- webpack.config.js | 9 ++++++--- 2 files changed, 6 insertions(+), 14 deletions(-) delete mode 100644 src/index.html diff --git a/src/index.html b/src/index.html deleted file mode 100644 index e217ba7..0000000 --- a/src/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - Doodle3D Transform - - -
- - diff --git a/webpack.config.js b/webpack.config.js index 051cd28..7f2df02 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -80,9 +80,12 @@ module.exports = { }), new HTMLWebpackPlugin({ title: 'Doodle3D Core - Simple example', - template: 'src/index.html', - favicon: 'favicon.ico', - inject: true, + favicon: './favicon.ico', + template: require('html-webpack-template'), + inject: false, + mobile: true, + scripts: appMode ? ['cordova.js'] : null, + appMountId: 'app' }), new GoogleFontsPlugin({ fonts: [