component_ryl 1.0.9 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/535877f50039c0cb49a6196a5b7517cd.woff +0 -0
- package/dist/732389ded34cb9c52dd88271f1345af9.ttf +0 -0
- package/dist/build.js +2 -2
- package/index.html +12 -9
- package/package.json +1 -1
- package/webpack.config.js +2 -2
package/index.html
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
</
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<title>component_ryl</title>
|
|
7
|
+
</head>
|
|
8
|
+
|
|
9
|
+
<body>
|
|
10
|
+
<div id="app"></div>
|
|
11
|
+
<script src="/dist/build.js"></script>
|
|
12
|
+
</body>
|
|
13
|
+
|
|
14
|
+
</html>
|
package/package.json
CHANGED
package/webpack.config.js
CHANGED
|
@@ -9,7 +9,7 @@ module.exports = {
|
|
|
9
9
|
path: path.resolve(__dirname, "./dist"),
|
|
10
10
|
publicPath: "/dist/",
|
|
11
11
|
filename: "build.js",
|
|
12
|
-
library: "
|
|
12
|
+
library: "component_ryl", // 第3步-- 与package中,name名称保持一致
|
|
13
13
|
libraryTarget: "umd", // 第3步
|
|
14
14
|
umdNamedDefine: true // 第3步
|
|
15
15
|
},
|
|
@@ -48,7 +48,7 @@ module.exports = {
|
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
test: /\.(png|jpg|gif|svg|woff|woff2|eot|ttf|bmp)$/,
|
|
51
|
-
use: "url-loader"
|
|
51
|
+
use: "url-loader?limit=20480"
|
|
52
52
|
}
|
|
53
53
|
]
|
|
54
54
|
},
|