Better dev server integration
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
{
|
||||
"presets": ["env", "react", "stage-2"],
|
||||
"plugins": []
|
||||
"presets": ["env", "stage-2", "react"]
|
||||
}
|
||||
|
||||
@ -1,14 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="description" content="A fast, global content delivery network for everything on npm">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
|
||||
<link rel="shortcut icon" href="/favicon.ico">
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
</html>
|
||||
@ -1,6 +1,6 @@
|
||||
import React from "react"
|
||||
import ReactDOM from "react-dom"
|
||||
import App from "./App"
|
||||
import "./index.css"
|
||||
import "./main.css"
|
||||
|
||||
ReactDOM.render(<App />, document.getElementById("app"))
|
||||
Reference in New Issue
Block a user