Comments (3)
Hi! Try placing bower.json in project root. The ignored deps will be
downloaded to root/.meteor/local/bower
, but they should not be sent to
the client.
On Wed, Feb 3, 2016 at 11:05 PM, Matti LeBlanc [email protected]
wrote:
Hi,
I am using Angular and ui-router in my meteor project and I wanted to add
'angular-ui-router-anim-in-out' which doesn't have an meteor package yet
So I thought to just use the bower packageI follow instructions, add the bowerjson to my /lib/bower folder (deepest
folder)
also in the root of my meteor project I have added bowerrc with the
directory pointing to meteor/local/bowerSo when I run meteor it installs the bower packages in
/lib/bower/meteor/local/bower
Not really what I expectedThen secondlyit is loading dependencies for angular-ui-router-anim-in-out
whilst I have exluced them{
"name": "projectX",
"authors": [
""
],
"description": "",
"moduleType": [],
"license": "MIT",
"homepage": "",
"ignore": [
"*/",
"node_modules",
"bower_components",
"public/components/",
"test",
"tests"
],
"dependencies": {
"angular-ui-router-anim-in-out": "~102"
},
"ignoredDependencies": [
"angular-animate",
"angular",
"angular-ui-router"
],
"private": true
}Any idea why this is?
Now the ignoredDependencies are loaded twice I reckon because I already
have them as Meteor package—
Reply to this email directly or view it on GitHub
#111.
from meteor-bower.
Yup, that worked. So the docs suggesting to put your bower.json as deep as possible isn't valid advice anymore, I reckon?
Thanks for the quick suggestion buddy.
from meteor-bower.
Thanks, forgot about that. If you'd like to nest, place the .bowerrc
in the same directory and use a relative path: f738dfa
from meteor-bower.
Related Issues (20)
- Won't load despite main being defined
- Error while starting meteor HOT 7
- Using a specific js file from a dependency HOT 1
- Javascript files not loaded in client when _originalSource != name HOT 2
- Error when adding package on my meteor app HOT 2
- Question: Where can I put the bower folder in? HOT 2
- Bower dependencies list must be a dictionary HOT 1
- Excluding files from dependency
- Meteor not loading bower package HOT 5
- After upgrade to 1.3: Packages not available anymore HOT 6
- Can't find dependencies modules anymore meteor 1.2 HOT 2
- bower old
- ignoredDependencies does not work HOT 1
- Unknown error with empty dependency list HOT 7
- Remove installed package HOT 1
- JS load order with bower install --save
- Bower package loads in lib/main.jsx but not in lib/transit.jsx
- Fails silently in Meteor 1.2+ HOT 4
- Local Database Fails to Start after installing Polymer HOT 5
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 meteor-bower.