Skip to content

Commit 6fd0ad4

Browse files
author
pqml
committed
Remove Tapable.apply error
1 parent a4186da commit 6fd0ad4

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 brocessing
3+
Copyright (c) 2018 brocessing
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<div align="center">
99
<!-- Version -->
10-
<a href="https://github.com/brocessing/kirby-webpack/releases"><img src="https://img.shields.io/badge/version-0.9.0-green.svg?style=flat-square" alt="Version"/></a>
10+
<a href="https://github.com/brocessing/kirby-webpack/releases"><img src="https://img.shields.io/badge/version-0.9.1-green.svg?style=flat-square" alt="Version"/></a>
1111
<!-- License -->
1212
<a href="https://raw.githubusercontent.com/brocessing/kirby-webpack/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square" alt="License" /></a>
1313
</div>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kirby-webpack",
3-
"version": "0.9.0",
3+
"version": "0.9.1",
44
"description": "A kirby starter-kit with modern frontend tools",
55
"main": "index.js",
66
"scripts": {

scripts/webpack-build.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ const sh = require('kool-shell/namespaced')('__kirbywebpack')
1111

1212
const compiler = webpack(webpackConfig)
1313

14-
compiler.apply(
15-
new ProgressBarPlugin({
16-
format: sh.colors.gray('build [:bar] :percent'),
17-
clear: true,
18-
summary: false
19-
})
20-
)
14+
new ProgressBarPlugin({
15+
format: sh.colors.gray('build [:bar] :percent'),
16+
clear: true,
17+
summary: false
18+
}).apply(compiler)
2119

2220
Promise.resolve()
2321
.then(() => fs.remove(path.join(user.paths.kirby.assets, 'builds')))

0 commit comments

Comments
 (0)