-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
36 lines (36 loc) · 1.11 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="cache-control" content="no-cache">
<title>Title</title>
<link href="/node_modules/antd/dist/antd.min.css" rel="stylesheet" type="text/css">
</head>
<body>
<script src="/node_modules/js-base64/base64.min.js"></script>
<script src="/node_modules/babel-standalone/babel.min.js"></script>
<script src="/dev/lib/babel-await-require-plugin.js"></script>
<script src="/dev/lib/await-require.js"></script>
<script>
awaitRequire.init({
entry: '/dev/index.jsx',
alias: {
antd: 'antd/dist/antd.js',
react: 'react/dist/react.js',
'react-dom': 'react-dom/dist/react-dom.js',
'prop-types': 'prop-types/prop-types.js',
'should-update': 'should-update/build/index.js',
},
modules: ['node_modules'],
extensions: ['', '/index.js', '.js', '.jsx'],
noCache: true,
cacheTimeout: 0,
});
// awaitRequire.init({
// entry: '/dev/a.js',
// modules: ['node_modules'],
// extensions: ['.js', '.jsx'],
// });
</script>
</body>
</html>