Comments (2)
If anyone is still having this issue there is a work around:
html2js: {
options: {
base: '../skin/app'
},
main: {
src: ['app/**/*.html'],
dest: '../static/js/user/templates.js'
}
},
The above wouldn't work for me, but the following does:
html2js: {
main: {
options: {
base: '../skin/app'
},
src: ['app/**/*.html'],
dest: '../static/js/user/templates.js'
}
},
from grunt-html2js.
Please note that the base
option is not intended to define a prefix for source template files; transforming the value of the src
property into a set of actual files is handled entirely by Grunt. As described in the docs, the base
option is only used to produce a module identifier for each template.
from grunt-html2js.
Related Issues (20)
- Please release new version with updated package.json HOT 2
- Upgrading the dependencies HOT 1
- Frozen due to typo in html HOT 1
- chokidar dependecy update needed HOT 1
- New release to include removal of `istanbul` as dependency HOT 4
- Html-minifier 4.0.0 has security issues HOT 9
- Add option to use existing module HOT 2
- If the template isn't found, then it should throw an error. HOT 3
- Template with broken newlines generates broken javascript HOT 1
- Getting a conflict trying to install grunt-html2js with grunt-contrib-concat. HOT 4
- Jade is depricated HOT 15
- Put 'use strict' outside HOT 1
- Break in new line each module HOT 1
- How to Strip Dynamic Prefix from Module Identifier? HOT 1
- Would it be possible to upgrade the version of html2js from 0.6.0 to 3.x please? HOT 2
- 0.3.7 is not published HOT 1
- Upgraded dependency(htmlmin) breaking build HOT 4
- SyntaxError: Unexpected EOF broken_newlines.tpl.html.js:9 HOT 2
- Parse error on < (less than) symbol in Angular expression HOT 4
- Drop support for Jade HOT 1
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-html2js.