Comments (1)
To see if a problem occurred, you can subscribe to the error
event:
const {phpMinify} = require('@cedx/gulp-php-minify');
gulp.task('php:build', () => gulp.src(path.src.php, {read: false})
.pipe(phpMinify())
.on('error', err => console.log(err))
.pipe(gulp.dest(path.build.php))
);
I think you encountered the "connection refused" error. I've released a new version 2.0.0 that should fix this issue.
See the updated documentation about the new mode
option that let you select between "a slow thing that works everytime", and "a fast thing that fails most of the time".
from php-minifier.
Related Issues (20)
- UnhandledPromiseRejectionWarning HOT 5
- Task Doesn't Seem to Complete HOT 2
- SyntaxError: Unexpected token HOT 1
- All Resources Links Dead HOT 1
- Not minify HOT 6
- SyntaxError: Unexpected token { HOT 3
- Plugin not working in pure ESM environment: `__dirname` is not defined HOT 1
- Import Problem HOT 5
- Task never defined: default HOT 1
- Documentation website not working HOT 1
- ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING HOT 1
- Struggling with CommonJS Implementation HOT 3
- Parse error, file error /node_modules/@cedx/php-minifier/www/index.php HOT 5
- Error on `require` when using Node.js pre-7.6 HOT 2
- Error: [@cedx/gulp-php-minify] promisify is not a function HOT 1
- async close() issue HOT 5
- Cannot find module '@cedx/enum' HOT 2
- PHP minify is not working HOT 1
- Error when spawning a custom PHP executable: ENOENT HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-minifier.