react-templates/playground.config.js

29 lines
946 B
JavaScript
Raw Normal View History

2014-12-30 16:53:42 +01:00
({
baseUrl: 'playground',
//name: 'node_modules/almond/almond.js', // assumes a production build using almond
out: 'playground/dist/fiddle.min.js',
include: ['fiddle-main.js'],
paths: {
lodash: '//cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash',
2015-07-07 10:54:59 +02:00
jquery: '//code.jquery.com/jquery-2.1.4.min',
firebase: '//cdn.firebase.com/js/client/2.0.5/firebase',
2015-07-29 16:53:20 +02:00
react: '//cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react-with-addons',
2014-12-30 16:53:42 +01:00
//ace: '../ace-builds-1.1.8/src-min/ace',
fiddle: './fiddle',
text: 'libs/requirejs-plugins/text',
json: 'libs/requirejs-plugins/json',
bootstrap: 'libs/bootstrap/bootstrap.min'
},
shim: {
lodash: {exports: '_'},
firebase: {exports: 'Firebase'},
jquery: {exports: '$'},
react: {exports: 'React'}
},
map: {
'*': {
'react/addons': 'react'
}
}
})