Comments (2)
currently app doesn't replace build links in the jade file, as it was developed with server-side jade rendering - which means the file doesn't change.
Please take a look at the readme where the recommended usage is:
if env === 'development'
//-<!-- build:js test/compiled/compiled.min.js -->
script(src='/test/fixtures/script1.js')
script(src='/test/fixtures/script2.js')
//-<!-- endbuild -->
else
script(src='/test/compiled/compiled.min.js')
If you want to add a pull-request that also has the option to output a build-ready
jade file you are more than welcome!
from grunt-jade-usemin.
Thanks for the advice. Looking forward to contribute 👍 :D
from grunt-jade-usemin.
Related Issues (20)
- Feature request: Incorporate file revision hash HOT 5
- filerev usage HOT 7
- Create examples.md which shows various usages examples
- Plugin fails when minblock has no tags
- Add option to specify destination directory for taks HOT 12
- It's not clear how to add config for tasks HOT 3
- filerev task doesn't work when using the same output file per two pages HOT 3
- filerev task doesn't work when using the same output file per two pages with targetPrefix HOT 1
- Unable to use absolute path to compiled source HOT 12
- Included assets don't bundled? HOT 7
- How to override source js/css files with revved ones? HOT 6
- Source Maps HOT 2
- Warning: Task "concat:jadeUsemin-css" not found. HOT 15
- Should we fail when script src does not exist? HOT 2
- Pug files are not processed HOT 2
- possibly wrong warning on css&js build types HOT 3
- Task "concat:jadeUsemin" not found HOT 2
- Feature request - write target jade files after replacing build blocks
- Image path in css is not being replaced with relative or absolute path HOT 9
- location is not defined HOT 6
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 grunt-jade-usemin.