Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Q: Make Brunch compile dependencies without source files #1542

Closed
joallard opened this issue Oct 24, 2016 · 1 comment
Closed

Q: Make Brunch compile dependencies without source files #1542

joallard opened this issue Oct 24, 2016 · 1 comment

Comments

@joallard
Copy link

joallard commented Oct 24, 2016

Description

More of a question, I posted on SO: Make Brunch compile dependencies without source files. I'm not getting brunch build to compile my dependencies. (Feel free to close here and go answer there)

Expected behavior

Dependencies are built into output file.

Actual behavior

Built file is empty.

Environment

  1. Brunch: 2.9.1
  2. Node: 6.7.0
  3. NPM: 3.10.7
  4. Operating system: OS X 10.11

package.json contents

brunch config contents

// See http://brunch.io for documentation.
module.exports = {
  paths: {
    watched: ['app/brunch'],
    public: 'vendor/assets'
  },

  modules: {
    wrapper: false,
    autoRequire: {
      'javascripts/brunch/app.js': [
        'lodash'
      ]
    }
  },

  files: {
    javascripts: {joinTo: 'javascripts/brunch/app.js'},
    stylesheets: {joinTo: 'stylesheets/brunch/app.css'}
  },

  plugins: {
    on: ['javascript-brunch']
  }
}

Other useful files, when present (log, bower.json etc.)

If there's an unexpected error during brunch build/brunch watch, please attach the compilation log with the debug flag (-d) and stack traces enabled (export LOGGY_STACKS=true).

If something worked with previous versions of brunch, but stopped with a newer one, please include these details as well.

@joallard joallard changed the title Make Brunch compile dependencies without source files Q: Make Brunch compile dependencies without source files Oct 24, 2016
@denysdovhan
Copy link
Contributor

Hey, @joallard, could you please pack this up in single repo with steps to reproduce? I'm gonna find out what's going wrong here. Will be glad to help you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants