fix build
This commit is contained in:
parent
6eae714d1d
commit
07d534b43c
10 changed files with 191 additions and 6 deletions
10
docs/dist/index.js
vendored
Normal file
10
docs/dist/index.js
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import * as __SNOWPACK_ENV__ from '../_snowpack/env.js';
|
||||
import.meta.env = __SNOWPACK_ENV__;
|
||||
|
||||
import React from "../_snowpack/pkg/react.js";
|
||||
import ReactDOM from "../_snowpack/pkg/react-dom.js";
|
||||
import App from "./App.js";
|
||||
ReactDOM.render(/* @__PURE__ */ React.createElement(React.StrictMode, null, /* @__PURE__ */ React.createElement(App, null)), document.getElementById("root"));
|
||||
if (undefined /* [snowpack] import.meta.hot */ ) {
|
||||
undefined /* [snowpack] import.meta.hot */ .accept();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue