Permalink
Browse files

build: 增加一些polyfill

  • Loading branch information...
litten committed Apr 28, 2017
1 parent 08edd2a commit 22e48ae84a5cc5a529c2105dacaf95bc2713d840
View
@@ -1 +1 @@
<link rel="stylesheet" type="text/css" href="<%=config.root%>./main.f6a68c.css">
<link rel="stylesheet" type="text/css" href="<%=config.root%>./main.b3331d.css">

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -24,12 +24,6 @@
"homepage": "https://github.com/litten/hexo-theme-yilia#readme",
"devDependencies": {
"autoprefixer": "^6.5.1",
"babel-core": "^6.0.0",
"babel-loader": "^6.0.0",
"babel-plugin-transform-runtime": "^6.0.0",
"babel-preset-es2015": "^6.0.0",
"babel-preset-stage-2": "^6.0.0",
"babel-runtime": "^6.0.0",
"clean-webpack-plugin": "^0.1.15",
"cross-env": "^1.0.6",
"css-loader": "^0.25.0",
@@ -44,6 +38,13 @@
"webpack": "^1.13.2"
},
"dependencies": {
"babel-core": "6.24.0",
"babel-loader": "6.4.0",
"babel-plugin-transform-runtime": "6.23.0",
"babel-polyfill": "^6.23.0",
"babel-preset-es2015": "6.24.0",
"babel-preset-react": "6.23.0",
"babel-preset-stage-2": "6.22.0",
"badjs-report": "^1.2.2",
"es6-promise": "^4.0.5",
"fetch": "^1.1.0",
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
View
@@ -17,7 +17,7 @@ module.exports = {
entry: {
main: "./source-src/js/main.js",
slider: "./source-src/js/slider.js",
mobile: "./source-src/js/mobile.js"
mobile: ["babel-polyfill", "./source-src/js/mobile.js"]
},
output: {
path: "./source",
@@ -27,7 +27,7 @@ module.exports = {
module: {
loaders: [{
test: /\.js$/,
loader: 'babel',
loader: 'babel-loader?cacheDirectory',
exclude: /node_modules/
}, {
test: /\.html$/,

0 comments on commit 22e48ae

Please sign in to comment.