Skip to content

Commit

Permalink
Merge pull request #21 from HeskeyBaozi/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
HeskeyBaozi authored Dec 22, 2017
2 parents b9d318e + 59a6005 commit 0311bda
Show file tree
Hide file tree
Showing 33 changed files with 80 additions and 9,932 deletions.
4 changes: 4 additions & 0 deletions build/webpack.base.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ module.exports = {
limit: 10000,
name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
}
},
{
test: /\.html$/,
loader: 'html-loader'
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module.exports = {

build: {
// Template for index.html
index: path.resolve(__dirname, '../layout/index.html'),
index: path.resolve(__dirname, '../layout/index.ejs'),

// Paths
assetsRoot: path.resolve(__dirname, '../source'),
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Loading...</title>
<title><%= config && config.title || 'Loading...' %></title>
</head>
<body>
<div id="app"></div>
Expand Down
1 change: 1 addition & 0 deletions layout/index.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang=en><head><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><meta http-equiv=X-UA-Compatible content="ie=edge"><title><%= config && config.title || 'Loading...' %></title><link href=/static/css/app.3333935152c7ed744b8487831c6aefcf.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.a095cb50aa04d00a4e84.js></script><script type=text/javascript src=/static/js/vendor.9a148fcb89f1ff8802b7.js></script><script type=text/javascript src=/static/js/app.719480d1d356efe7f86c.js></script></body></html>
1 change: 0 additions & 1 deletion layout/index.html

This file was deleted.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lite-fe",
"version": "1.2.2",
"version": "1.2.3",
"description": "Hexo Theme Lite FE",
"author": "HeskeyBaozi <[email protected]>",
"scripts": {
Expand Down Expand Up @@ -40,6 +40,7 @@
"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^1.1.4",
"friendly-errors-webpack-plugin": "^1.6.1",
"html-loader": "^0.5.1",
"html-webpack-plugin": "^2.30.1",
"less": "^2.7.3",
"less-loader": "^4.0.5",
Expand Down Expand Up @@ -83,7 +84,7 @@
"out": "./src/styles/theme",
"config": "./element-variables.scss",
"theme": "element-theme-chalk",
"minimize": false,
"minimize": true,
"components": [
"Pagination",
"Dialog",
Expand Down
7 changes: 7 additions & 0 deletions source/static/css/app.3333935152c7ed744b8487831c6aefcf.css

Large diffs are not rendered by default.

Binary file not shown.

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions source/static/css/app.6697455b575fd361f55cc52d29be06e5.css

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file removed source/static/js/0.2003b7cca41a19d8aef1.js.gz
Binary file not shown.

Large diffs are not rendered by default.

Binary file added source/static/js/0.8d0e6a674d0bafa37a31.js.gz
Binary file not shown.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Loading

0 comments on commit 0311bda

Please sign in to comment.