From 041f2928896f2b1ce5b8be56ccbf82b20e11038c Mon Sep 17 00:00:00 2001 From: mrzapp Date: Sat, 18 Jan 2020 07:58:57 +0000 Subject: [PATCH 1/2] Fixes #331 --- webpack.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 0d1837e02..32670abe8 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -10,6 +10,9 @@ const FileSystem = require('fs'); const IS_WATCHING = Array.isArray(process.argv) && process.argv.indexOf('--watch') > -1; const TMP_PATH = Path.join(__dirname, 'tmp'); const PLUGINS_PATH = Path.join(__dirname, 'plugins'); +const PUBLIC_PATH = Path.join(__dirname, 'public'); +const PUBLIC_JS_PATH = Path.join(PUBLIC_PATH, 'js'); +const PUBLIC_CSS_PATH = Path.join(PUBLIC_PATH, 'css'); /** * Gets all .js entries @@ -28,6 +31,8 @@ function getJsEntries() { } // Include plugins + FileSystem.writeFileSync(Path.join(PUBLIC_JS_PATH, 'plugins.js'), '/* No plugins installed */'); + let pluginScripts = []; if(FileSystem.existsSync(PLUGINS_PATH)) { From 75151384592125e2dcb2e05e70a117ecd135925b Mon Sep 17 00:00:00 2001 From: mrzapp Date: Thu, 23 Jan 2020 07:18:34 +0000 Subject: [PATCH 2/2] Version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2a26d00a1..910472f0b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hashbrown-cms", "repository": "https://github.com/HashBrownCMS/hashbrown-cms.git", - "version": "1.3.5", + "version": "1.3.6", "description": "A free and open-source headless CMS", "main": "hashbrown.js", "scripts": {