Skip to content

Instantly share code, notes, and snippets.

@jc1987
Forked from miloshadzic/build.js
Created October 13, 2015 13:22
Show Gist options
  • Save jc1987/b9671545fb3a4dc257c6 to your computer and use it in GitHub Desktop.
Save jc1987/b9671545fb3a4dc257c6 to your computer and use it in GitHub Desktop.
({
baseUrl: 'app',
out: 'build/main.js',
optimize: 'uglify2',
name: 'libs/almond',
include: ['main'],
exclude: ['coffee-script'],
stubModules: ['cs', 'text'],
wrap: true,
paths: {
backbone: 'libs/backbone-amd',
underscore: 'libs/underscore-amd',
jquery: 'libs/jquery',
cs: 'libs/cs',
'coffee-script': 'libs/coffee-script',
text: 'libs/text'
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment