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
1
vote
1 answer

How do I integrate PostCSS into Broccoli angular-cli Build?

It seems like this build script is running but the CSS that is output is not minified or auto prefixed. I am attempting to compile SASS, then run the output through Post CSS with Broccoli and the angular-cli. I figure maybe some ember-cli folks…
1
vote
1 answer

Angular2 cli generates 'Error: Trying to add a new entry to an already existing one'

I'm using the Angular2 Cli as the runtime environment for my Angular 2 application. I'm really impressed with its architecture, best of class development tools, and overall well-thought-out-ness (for lack of a better word). However, about every…
vt5491
  • 2,254
  • 2
  • 22
  • 34
1
vote
1 answer

Including specific style sheets or javascript in ember-cli-build

The problem I am working on an Ember.js project which has different versions (products) for different clients. Though the functionality is more or less the same, the styling of each product differs big time. Hence we have "default" and product…
Abel
  • 51
  • 5
1
vote
1 answer

Next steps to find the cause of Ember-CLI/Broccoli Plugin error during build

This happens on a Win 8.1 PC, as a result of "ember serve", with no modifications done after an error free, ember new MyApp. From my research: "Error: EPERM: operation not permitted, symlink" means that there is a permissions issue. So I made sure…
1
vote
0 answers

broccoli js and browserSyn build

I try to make a custom build pipeline using broccolijs, babel and browserSync. So far works as expected; I can use ES6 script, and my files are watched: after saving a file, it builds and refresh the page automagically. Now I do broccoli build…
user1930254
  • 1,251
  • 5
  • 17
  • 32
1
vote
1 answer

broccoli serve on https

I've searched everywhere but can not come up with a solution for my issue. I want to serve files from my local serve using broccoli but since the files are to be tested on a secure (https) url, my browser throws an error. Is there any way to serve…
1
vote
2 answers

Using browserify with BroccoliJS

I'm trying to get started using BroccoliJS to build apps using the React framework. I'm trying to use browserify to combine the javascript files I'm using but it keeps returning errors when I try to run the build on a barebones application. I have a…
user2027202827
  • 1,234
  • 11
  • 29
1
vote
2 answers

add livereload to broccoli

I'm trying to add livereload to broccoli Unfortunately the live-reload plugin documentation is a bit short and I cannot get it to work. In the docs it is stated to do the following: var injectLivereload = require('broccoli-inject-livereload'); var…
Jeanluca Scaljeri
  • 26,343
  • 56
  • 205
  • 333
1
vote
1 answer

Disable cachebusting string Ember-CLI production build

I need to have images in my Ember-CLI application for which I change the path dynamically, i.e. . However, because Ember adds a cachebusting string to all the images, I can't do this. Is there any way to disable the…
blisstdev
  • 633
  • 4
  • 13
1
vote
1 answer

Emberjs: _instantiatedStack error using broccoli-funnel

I'm trying to copy my font-awesome fonts to my dist/fonts directory using this: var fontFiles = funnel('bower_components/font-awesome/', { srcDir: 'fonts', destDir: 'fonts' }); console.log(fontFiles); module.exports =…
Mithrilhall
  • 1,485
  • 8
  • 33
  • 52
1
vote
2 answers

Importing jQuery-mockjax with Ember-CLI - Brocfile not read

I'm trying to load jquery-mockjax into my test suite and followed the instructions on http://www.ember-cli.com/user-guide/#managing-dependencies. I have placed a Brockfile.js in the root of my ember app: var EmberApp =…
max
  • 96,212
  • 14
  • 104
  • 165
1
vote
1 answer

Ember cli - use sass addon in less project

I use broccoli-less in my ember cli project and would like to use an addon (ember-cli-materialize), which uses broccoli-sass. After installing the addon, i get: File to read not found or unreadable ../app.scss, because i also have an app.less file…
user3740962
  • 153
  • 2
  • 7
1
vote
1 answer

How to set different Compass configuration options for environments in Broccoli?

I'm currently using the ember-cli-broccoli-compass plugin for compiling my SASS. However I'm having trouble being able to assign the HTTP path for image assets in the stylesheets for different environments. This is what I have so far: var EmberApp =…
JellyFishBoy
  • 1,658
  • 1
  • 17
  • 25
1
vote
1 answer

How to import socket.io via brocfile for ember cli application?

I want to use socket.io in my ember cli application, so I installed with: bower install socket.io --save And added the following line to my Brocfile.js: app.import('bower_components/socket.io/index.js'); This results in two errors in my browser…
Felix
  • 3,783
  • 5
  • 34
  • 53
1
vote
1 answer

Ember-cli taking a long time to build after app migration

I recently migrated an ember app that I was compiling using bower to ember-cli. It had already grown pretty large, but I was running into issues with my current dev environment and ember-cli seems like the cleaner solution. Unfortunately, after…
Jake Dluhy
  • 617
  • 6
  • 19