Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
1b0fa5b465 | |||
7a6f9d9569 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@gitzone/tsbundle",
|
||||
"version": "1.0.31",
|
||||
"version": "1.0.32",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@gitzone/tsbundle",
|
||||
"version": "1.0.31",
|
||||
"version": "1.0.32",
|
||||
"private": false,
|
||||
"description": "a bundler using rollup for painless bundling of web projects",
|
||||
"main": "dist/index.js",
|
||||
|
@ -11,7 +11,7 @@ export class HtmlHandler {
|
||||
|
||||
// copies the html
|
||||
public async copyHtml() {
|
||||
if (!(await this.checkIfExists)) {
|
||||
if (!(await this.checkIfExists())) {
|
||||
return;
|
||||
}
|
||||
await plugins.smartfile.fs.copy(this.sourceFilePath, this.targetFilePath);
|
||||
@ -19,7 +19,7 @@ export class HtmlHandler {
|
||||
|
||||
// copies and minifies the html
|
||||
public async minifyHtml() {
|
||||
if (!(await this.checkIfExists)) {
|
||||
if (!(await this.checkIfExists())) {
|
||||
return;
|
||||
}
|
||||
const fileString = plugins.smartfile.fs.toStringSync(this.sourceFilePath);
|
||||
|
Reference in New Issue
Block a user