Gulp --prod not linking to asses correctly
See original GitHub issueHi Sondr3,
Seems I’m running into another strange issue. When I use gulp --prod or gulp build --prod the .css and .js files are not linked to correctly in the dist folder. For instance in my src/head.html I’ll have something like:
<!-- CSS -->
<!-- inject:css -->
<link rel="stylesheet" href="assets/stylesheets/style-152365af71.min.css">
<!-- endinject -->
Which is correct, but in one of my static files in dist, it’ll have:
<link rel=stylesheet href=assets/stylesheets/style.css>
Which is obviously incorrect. Any ideas why the links to these assets aren’t being generated correctly in dist?
Thanks for your time
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Use gulp for typescript compilation - javascript - Stack Overflow
I've setup gulp to work from gulpfile.js/ folder. In this folder are index.js , config.js and tasks/ folder, and in tasks/typescript.js is task...
Read more >Gulp babel not transpiling to es5 · Issue #167 - GitHub
I installed gulp babel (and dependencies) and when running gulp, same es6 code is being output in dist. I tried adding .babelrc to...
Read more >How to Setup a Basic Gulpfile.js | Example and Explanation
The first step is to include the plugins within Gulp.js that you want to use. In the code above, I included the basic...
Read more >Getting To Know Gulp | Web-Crunch
To get gulp and any other plugins to work correctly, we need to first install Node. This part is simple. Simply head to...
Read more >Top 18 Most Common AngularJS Developer Mistakes - Toptal
Sheer size of the AngularJS can easily lead to many mistakes. In this article you will learn about most common AngularJS developer mistakes...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I figured out what was happening, it had something to do with LSI. If you go into your
_config.build.ymlfile and comment outlsi: trueit should start working again.I only made the one change in the gulpfile to remove root slash, but that wouldn’t be the issue. Im not sure what incremental regeneration is or how to enable it so don’t think it’d be that either.
Here’s the repository if you want to have a look: https://github.com/mckeever02/jekyllized-test Might see something I don’t