mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 18:20:27 +00:00
* adds `?hash` to JS and CSS bundle URLs against caching in production * uses `html-webpack-plugin` to generate html dynamically * html based on template in `app/html/index.html` * per-app html files no longer needed * `build/` dir is now completely deleteable, and fully gitignored * top-level `make` now requires `client/app` to pick up on html and style changes * cleaned up `server.js` code for production bundle testing * added readme entry about testing production bundles
11 lines
260 B
JavaScript
11 lines
260 B
JavaScript
require('font-awesome-webpack');
|
|
require('../styles/main.less');
|
|
require('../images/favicon.ico');
|
|
|
|
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
|
|
import App from './components/app.js';
|
|
|
|
ReactDOM.render(<App />, document.getElementById('app'));
|