Questions tagged [broccolijs]

A JavaScript build tool that exposes a simple Javascript API to perform file-based transformations, allowing developers to easily build complex build pipelines, using a simple, functional API.

Browser compilation library – a build tool for applications that run in the browser.

A fast, reliable asset pipeline, supporting constant-time rebuilds and compact build definitions. Comparable to the Rails asset pipeline in scope, though it runs on Node and is backend-agnostic. For background and architecture, see the introductory blog post.

163 questions
0
votes
1 answer

Adding Library on the web app with broccoli

I am using a jquery library, here http://www.jqueryscript.net/menu/iPod-Style-jQuery-Sliding-Drill-Down-Menu-Plugin.html, and I'm trying to add it on my app. These are my import…
Noor
  • 18,061
  • 35
  • 123
  • 236
0
votes
1 answer

Broccoli.js and Ember-CLI : trying to get SCSS compiler to work

I'm trying to use Foundation with an Ember-CLI app and I want to compile all the SCSS with broccoli-scss. For the life of me I cant get it to work. I have Foundation in my bower components so heres what I've tried, modled off of the broccoli sample…
JDillon522
  • 16,942
  • 15
  • 41
  • 73
0
votes
1 answer

Ember server keeps complaining about a file not found

This is driving me nuts. I cloned my project on a new computer, ran npm install and bower install, but then running ember server keeps telling me that it can't find my moment.js file, but I have the correct path in my Brocfile. I had to change the…
redOctober13
  • 2,807
  • 2
  • 28
  • 53
0
votes
2 answers

Livereload with Ember-CLI; only reload changed assets

I'm used to building a asset compilation system with Grunt or Gulp. Using Gulp's livereload and the Chrome livereload plugin, I have a pretty sweet system where it watches for changes of certain file types and reloads only the file that were…
typeoneerror
  • 51,338
  • 32
  • 124
  • 213
0
votes
2 answers

Ember-cli creates/initializes app.js twice

I'm moving my project from Ember AppKit to Ember-Cli. I have an myapp/app/app.js, where the app is initialized and in myapp/app/index.html I have the following lines: var config = require('myapp/config/environment')['default']; …
vtm
  • 41
  • 3
0
votes
1 answer

Ember CLI - Exporting compiled Coffeescript (or transpiled Javascript) to the global namespace?

We're trying to migrate our legacy project to Ember CLI/Ember App Kit structures using ES6 modules, but we have some legacy Coffeescript files that need to be run outside the Ember App context. We're attempting to include the Coffeescript files in…
0
votes
2 answers

Access broccoli server from other device

I'm using broccoli to develop a simple app and I'm trying to access it from a mobile phone. However, even if I'm able to access the site from my computer at localhost:42000 I'm not able to do so when I point the browser of my phone at…
Sig
  • 4,674
  • 8
  • 39
  • 65
0
votes
1 answer

embercli bootstrap for ember and modal dialog

Anyone using bootstrap-for-ember with embercli ? I keep getting : 'BootStrap' is not defined. On a line that reads: return BootStrap.ModalManager.show('myModal'); Ive got the modal defined in the template and have bootstrap for ember installed…
Vida
  • 381
  • 3
  • 12
0
votes
0 answers

Ember-CLI: How to get EmberApp trees for further processing?

I'm using ember-cli v0.0.40 in a small project which I mainly use to learn how ember-cli works and differs from ember-app-kit - especially on my windows dev machine. Now, I came to the conclusion that I would need to tweak the Brocfile.js to fit my…
herom
  • 2,522
  • 24
  • 40
0
votes
1 answer

Get Ember/Broccoli-Sass to parse .sass files

I'm trying to set up my first Ember project with ember-cli und want to include SASS by using .sass files (not .scss files). Out of the box it only parses a app.scss. How can I achive to parse a app.sass?
jan
  • 640
  • 1
  • 6
  • 14
0
votes
1 answer

How to add a broccoli plugin to ember-cli app with live-reload?

When I run ember build, the broccoli plugin runs correctly, and outputs the sprite CSS file and sprite PNG file into the assets directory. When I run ember serve, the same thing happens initially too. However, when I save any file, causing Broccoli…
bguiz
  • 22,661
  • 40
  • 140
  • 226
-1
votes
2 answers

Data in and changes to app.scss in Ember CLI application not reflected in browser

I've recently started my first Ember CLI project, and have loaded broccoli-sass to handle the stylesheets as instructed by various sources. Editing the app.scss with various test css (e.g. body {background-color:red}) that broccoli-sass provides…
amhasler
  • 67
  • 4
-1
votes
1 answer

broccoli-sass, node-sass, breakpoint-sass

I'm trying to use breakpoint-sass with broccoli-sass in my Ember CLI project, but when using @include breakpoint(100px) it crashes with the following error: cannot add or subtract numbers with incompatible units [string exception] It's simple to…
Tim Baas
  • 5,585
  • 5
  • 42
  • 66
1 2 3
10
11