Compare commits

..

2 Commits

Author SHA1 Message Date
1b0fa5b465 1.0.32 2019-07-17 12:40:40 +02:00
7a6f9d9569 fix(core): update 2019-07-17 12:40:40 +02:00
3 changed files with 4 additions and 4 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@gitzone/tsbundle", "name": "@gitzone/tsbundle",
"version": "1.0.31", "version": "1.0.32",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@gitzone/tsbundle", "name": "@gitzone/tsbundle",
"version": "1.0.31", "version": "1.0.32",
"private": false, "private": false,
"description": "a bundler using rollup for painless bundling of web projects", "description": "a bundler using rollup for painless bundling of web projects",
"main": "dist/index.js", "main": "dist/index.js",

View File

@ -11,7 +11,7 @@ export class HtmlHandler {
// copies the html // copies the html
public async copyHtml() { public async copyHtml() {
if (!(await this.checkIfExists)) { if (!(await this.checkIfExists())) {
return; return;
} }
await plugins.smartfile.fs.copy(this.sourceFilePath, this.targetFilePath); await plugins.smartfile.fs.copy(this.sourceFilePath, this.targetFilePath);
@ -19,7 +19,7 @@ export class HtmlHandler {
// copies and minifies the html // copies and minifies the html
public async minifyHtml() { public async minifyHtml() {
if (!(await this.checkIfExists)) { if (!(await this.checkIfExists())) {
return; return;
} }
const fileString = plugins.smartfile.fs.toStringSync(this.sourceFilePath); const fileString = plugins.smartfile.fs.toStringSync(this.sourceFilePath);