UNPKG

r-layout

Version:

Layout made simple. Screw CSS!

34 lines (32 loc) 794 B
var path = require('path'); module.exports = { dev: { entry: { index: './examples/ExampleBrowser.jsx', DemoExample: './examples/DemoExample.jsx', }, output: { path: path.join(__dirname,'../examples'), filename: '[name].js' }, stats: { // Configure the console output colors: true, modules: true, reasons: true }, module: { loaders: [ { jsx: /.*\.js/, loader: 'jsx-loader?harmony' } // loaders can take parameters as a querystring ] }, resolve: { // you can now require('file') instead of require('file.jsx') extensions: ['', '.js', '.jsx', '.json'] }, progress: true, keepalive: true, watch: true, watchDelay: 3000 } };