gulp-optimize-js | Gulp plugin | Frontend Framework library
kandi X-RAY | gulp-optimize-js Summary
kandi X-RAY | gulp-optimize-js Summary
Gulp plugin for optimize-js. Thanks to @nolanlawson for his awesome work.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Optimize JS .
- Optimize a JS file .
- Optimize options .
gulp-optimize-js Key Features
gulp-optimize-js Examples and Code Snippets
Community Discussions
Trending Discussions on gulp-optimize-js
QUESTION
My current Gulp files correctly compiles src to dist for each project folder. The problem is, it doesn't actually watch for new changes after I run gulp watch.
My project directory:
template-parts/blocks/{project-name}/src/css/*.scss
template-parts/blocks/{project-name}/src/js/*.js
template-parts/blocks/{project-name}/dist/css/*.scss
template-parts/blocks/{project-name}/dist/js/*.js
Here's my current Gulp file. Search for "Process, lint, and minify Sass files" to jump to the Scss task.
Any idea what I've done incorrectly? I've largely been following various guides and Stackoverflow posts to get where I am so far. I'm so close!
...ANSWER
Answered 2019-Oct-04 at 17:45Wow! I spent so much time trying to figure this out. Then 60 seconds after posting my question I just happened to figure it out.
Here's the fix:
I changed:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gulp-optimize-js
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page