Remove the index.js indirection
Make index.es6 the main entry point.
This commit is contained in:
parent
95bccc2e53
commit
ce7a2d3870
3 changed files with 4 additions and 31 deletions
|
|
@ -17,6 +17,8 @@
|
|||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with Cockpit; If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import 'cockpit';
|
||||
import React from 'react';
|
||||
import { StarterKit } from './starter-kit-view.jsx';
|
||||
|
||||
|
|
@ -30,10 +32,4 @@ function render() {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Start the application.
|
||||
*/
|
||||
export function run() {
|
||||
// do initial render
|
||||
render();
|
||||
}
|
||||
document.addEventListener("DOMContentLoaded", render);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue