mirror of
https://github.com/wassname/ray.git
synced 2026-09-11 12:43:20 +08:00
Integration of Webui with Ray (#32)
* Initial integration of webui with ray * Re-organized calling of build-webui in setup.py * Fixed Lint comments on js code * Fixed more lint issues * Fixed various issues * Fixed directory in services.py * Small changes. * Changes to match lint
This commit is contained in:
committed by
Robert Nishihara
parent
7babe0d22f
commit
08707f9408
@@ -0,0 +1,19 @@
|
||||
var webpack = require('webpack');
|
||||
var path = require('path');
|
||||
|
||||
var BUILD_DIR = path.resolve(__dirname, 'client/public');
|
||||
var APP_DIR = path.resolve(__dirname, 'client/app');
|
||||
var config = {
|
||||
entry: APP_DIR + '/index.jsx',
|
||||
output: {path: BUILD_DIR, filename: 'bundle.js'},
|
||||
module: {
|
||||
loaders: [{
|
||||
test: /\.jsx?/,
|
||||
include: APP_DIR,
|
||||
loader: 'babel',
|
||||
query: {presets: ['react']}
|
||||
}]
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
Reference in New Issue
Block a user