Comments (6)
I am having similar needs, have a look in pathprefix branch.
from broccoli-manifest.
Hey @ssured, any way we can get this merged in? I have another feature I would like.. but i'll open up a separate issue for that.
from broccoli-manifest.
@ZackMattor I am not sure it is ready to merge yet; currently I am not using that code as we cannot get a CDN to work for our scenario; our need is no more. I am curious for what features you want and open for PRs
from broccoli-manifest.
I've been using the CDN branch for about a month now and it has been working fine for me :)
I need a way to allow for relative paths for certain builds (basically remove the preluding '/' from each line)
from broccoli-manifest.
Great work @ssured! I also tested the pathprefix branch and it works for me.
But there is an issue when using includePaths
to add an external resource. Using
includePaths: ['http://fonts.googleapis.com/css?family=Open+Sans:400,700']
ended in
http://my.cdn.url.com/http://fonts.googleapis.com/css?family=Open+Sans:400,700
.
But it is possible to fix that when you set pathPrefix as a function:
pathPrefix: function(file){ return file.startsWith("http") ? file : 'http://my.cdn.url.com/'+file; }
from broccoli-manifest.
Cool, seems like a nice solution. Can you make a PR?
from broccoli-manifest.
Related Issues (6)
- FYI - Ember CLI Addon Support HOT 2
- Allow reading options in the addon HOT 1
- Allow Caching of Nested Routes HOT 1
- Not working in Chrome? HOT 2
- Fingerprint assets HOT 2
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 broccoli-manifest.