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.

167 questions
3
votes
1 answer

extend build-pipeline of angular-cli

Can i extend the build-process of angular-cli without rewriting angular-cli itself? Like in the old days, when i wrote my gulp/grunt tasks for the build-process and i could change everything i wanted. I want to change the default build-system of the…
3
votes
1 answer

The loader.js addon is missing

I have cloned my ember project, use following commands npm install bower install ember build and got this message DEPRECATION: Brocfile.js has been deprecated in favor of ember-cli-build.js. Ple ase see the transition guide: …
Nininea
  • 2,671
  • 6
  • 31
  • 57
3
votes
3 answers

Ember-cli-sass not creating .css file

I've just installed and created app/styles/app.scss, but when I start with ember server the .css file is not created. Is there any other set up I need, other than npm install --save-dev ember-cli-sass? I've also added this to my Brocfile.js, and run…
babbaggeii
  • 7,577
  • 20
  • 64
  • 118
3
votes
0 answers

Running Ember-CLI on VirtualBox

After a great deal work tinkering I have a mostly working copy of an ember-cli project running on a guest Ubuntu VirtualBox. One of my goals was to run the code inside a Shared Folder and I have it mostly working. There are a number of hacks ahem,…
Jim
  • 404
  • 2
  • 14
3
votes
2 answers

ember-cli fails on --environment=production (Uncaught Error: Could not find module)

I am using ember-cli and have a problem with selecting the production environment. Specifically, everything works when I run ember serve --environment=development and I get a blank page when I run ember serve --environment=production. In the…
dbinetti
  • 215
  • 3
  • 9
2
votes
1 answer

Assertion Failed: '@dropdown.isOpen' is not a valid path

Getting this error when trying to run a web app built in ember: Template Compiler Error (broccoli-persistent-filter:TemplateCompiler) in ember-basic-dropdown/templates/components/basic-dropdown-content.hbs Assertion Failed: '@dropdown.isOpen' is…
Alex Reed
  • 99
  • 1
  • 2
  • 11
2
votes
2 answers

Regarding custom builds in Ember

How do I extend my custom environment (and build), for example, "staging" from production? Ultimately I want to do ember build --environment=staging, reap the goodness and optimization provided by "production" build + want to provide some custom…
karthikaruna
  • 3,042
  • 7
  • 26
  • 37
2
votes
3 answers

How to run my node script as one of the ember's build tasks?

I am working in an ember application. From what I understood, it builds the application using Broccoli. I have a requirement where I need to process some files in the application by running a node script before the building process starts. Now I am…
vbrin27
  • 723
  • 1
  • 6
  • 25
2
votes
1 answer

Modify how ember-i18n localizations are loaded, split localization strings from main app.js

I am trying to modify the way ember-i18n localizations are loaded. What I want to do is have the localizations in a separate file from the main app javascript file. Ideally, the structure would remain the same as now. So I would have…
tehmaestro
  • 1,010
  • 2
  • 11
  • 21
2
votes
1 answer

Broccoli-stew doesn't print anything

I tried using broccoli-stew (or broccoli-debug) to debug my tree, because I'm not sure if it's moving the correct files to the right location. When I import with app.import('vendor/my-app/file.css'); it gives me an error... I want to see my nodes I…
renno
  • 2,659
  • 2
  • 27
  • 58
2
votes
1 answer

EmberJS Getting Broccoli error when Ember build prod

The error I get is,says can not read property '0' of null but not sure what it refers to.. $ ember build --prod cleaning up... Build failed. File: assets/api.css The Broccoli Plugin: [broccoli-persistent-filter:CleanCSSFilter] failed…
AHH
  • 301
  • 1
  • 4
  • 13
2
votes
2 answers

JSHint error on Ember build

I am in the process of upgrading an Ember application from version 2.4.3 to 2.9.1. The application builds successfully, but I get a list of 42 versions of the following JSHint error; each starting with a different file…
Emil Bækdahl
  • 119
  • 1
  • 10
2
votes
2 answers

Ember.js CLI Build Broccoli Funnel not working

I am trying to use the Broccoli Funnel package to pull a complete directory into my assets folder in an Ember CLI build. Please find my ember-cli-build.js file below: var EmberApp = require('ember-cli/lib/broccoli/ember-app'); var Funnel =…
jlommori
  • 161
  • 1
  • 13
2
votes
2 answers

Angular2 - sass unable to build on angular-cli

I'm trying to use SASS with angular-cli. I've read the docs and found other SO q/a's that talk about setting it up...but it keeps failing the build. Here's my setup: angular-cli-build.js sassCompiler: { includePaths:…
D_Naish
  • 543
  • 4
  • 20
2
votes
4 answers

ember build command fails with error: no such file or directory, lstat ..../ember-cli-test-loader/test-loader

I have recently updated the dependencies in packages.json and bower.json and have run into a similar error like this that i solved by providing an overwrite to the vendorFiles option in my EmberApp: ## ember-cli-build.js ... module.exports =…
coderatchet
  • 8,120
  • 17
  • 69
  • 125
1 2
3
11 12