grunt-usemin Questions
2
I am using grunt-usemin plugin. I wonder how to do below.
I have two blocks of usemin config in index.html.
<!-- build:js /scripts/scriptsmin.js -->
<script src="/scripts/jquery.min.js"&...
Swallowtail asked 26/10, 2013 at 16:17
1
Solved
I'm using grunt and usemin with my angularjs project. Specifically my issue is concerned with usemin not revving image tags in any *.html file within a subdirectory of views.
My .html files are in...
Litigation asked 31/12, 2013 at 15:25
1
Solved
Do you know of a workflow that includes source maps for an app compiled with grunt?
I am well aware of plugins like uglifyjs that allow you to simply generate a source map. But I'm looking for inc...
Hamelin asked 1/11, 2013 at 2:11
1
Solved
My document structure is
root->public->angular->scripts->main->app.js . I have used yeoman angular generator and set up grunt . My html file looks like this
<div>
<script src="bower_co...
Prisca asked 10/12, 2013 at 16:37
2
I'm new to grunt. I'm coming from rails and getting into angular. From what I can see grunt usemin can replace <script src=...> between build directives and replace that with a single m...
Atony asked 2/11, 2013 at 0:20
1
Solved
I have a Gruntfile running concat and uglify with specific options (i.e. mangle toplevel variables) and then I use sed to update the references to the minified files in index.html. This solution wo...
Argumentation asked 30/10, 2013 at 15:47
1
I'm having a horrible time using yeoman/grunt and usemin - trying to get output files to work at the same time as writing the correct path inside the html, when I have subfolders.
My basic set up ...
Archuleta asked 20/8, 2013 at 22:33
1
Solved
I am using the usemin task in my Yeoman generator. In the HTML it looks like it has worked fine as the separate JavaScript files are replaced by a link to a single file. However, the file that is b...
Arteritis asked 14/10, 2013 at 13:49
© 2022 - 2024 — McMap. All rights reserved.