diff --git a/src/index.js b/src/index.js index 0c506ad..5d77ff8 100644 --- a/src/index.js +++ b/src/index.js @@ -25,8 +25,8 @@ module.exports = function(htmlFileContent) { const outputPath = parsedQuery.outputPath == null ? this.options.output.path - : parsedQuery.outputPath - + : '/' + const outputPublicPath = parsedQuery.outputPublicPath == null ? this.options.output.publicPath : parsedQuery.outputPublicPath @@ -141,4 +141,4 @@ const getMinifiedOutput = (filePath, code) => { else if (filePath.endsWith('.js')) { return uglifyJs.minify(code, { fromString: true }).code } -} \ No newline at end of file +}