2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-19 09:50:33 +03:00

move demo related files to /docs/ add gh-pages module

This commit is contained in:
Jeff Sagal
2016-06-10 14:35:14 -07:00
parent 5331da9b4f
commit 2653e5ee0a
28 changed files with 145 additions and 139 deletions
+3
View File
@@ -6,6 +6,7 @@ var path = require('path')
var config = require('../config')
var ora = require('ora')
var webpack = require('webpack')
var ghpages = require('gh-pages')
var webpackConfig = require('./webpack.prod.conf')
console.log(
@@ -32,4 +33,6 @@ webpack(webpackConfig, function (err, stats) {
chunks: false,
chunkModules: false
}) + '\n')
ghpages.publish(path.join(__dirname, '../dist'))
})
+3 -3
View File
@@ -5,7 +5,7 @@ var projectRoot = path.resolve(__dirname, '../')
module.exports = {
entry: {
app: './src/main.js'
app: './docs/main.js'
},
output: {
path: config.build.assetsRoot,
@@ -45,7 +45,7 @@ module.exports = {
loader: 'vue-html'
},
{
test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
test: /\.(png|jpe?g|gif)(\?.*)?$/,
loader: 'url',
query: {
limit: 10000,
@@ -53,7 +53,7 @@ module.exports = {
}
},
{
test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
test: /\.(woff2?|eot|ttf|otf|svg)(\?.*)?$/,
loader: 'url',
query: {
limit: 10000,