Skip to content

Commit

Permalink
removes dist from gitignore and chunk hash
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikAngerer committed Jun 26, 2017
1 parent 9d7c242 commit 8b47316
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,6 +1,5 @@
.DS_Store
node_modules/
dist/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
6 changes: 3 additions & 3 deletions build/webpack.prod.conf.js
Expand Up @@ -21,8 +21,8 @@ var webpackConfig = merge(baseWebpackConfig, {
devtool: config.build.productionSourceMap ? '#source-map' : false,
output: {
path: config.build.assetsRoot,
filename: utils.assetsPath('js/[name].[chunkhash].js'),
chunkFilename: utils.assetsPath('js/[id].[chunkhash].js')
filename: utils.assetsPath('js/[name].js'),
chunkFilename: utils.assetsPath('js/[id].js')
},
plugins: [
// http://vuejs.github.io/vue-loader/en/workflow/production.html
Expand All @@ -37,7 +37,7 @@ var webpackConfig = merge(baseWebpackConfig, {
}),
// extract css into its own file
new ExtractTextPlugin({
filename: utils.assetsPath('css/[name].[contenthash].css')
filename: utils.assetsPath('css/[name].css')
}),
// Compress extracted CSS. We are using this plugin so that possible
// duplicated CSS from different components can be deduped.
Expand Down
1 change: 1 addition & 0 deletions dist/index.html
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><meta charset=utf-8><title>vue-heatmap</title><link href=/static/css/app.f19bbab73848a15ec08d8ce47e34f181.css rel=stylesheet></head><body><calendar-heatmap></calendar-heatmap><script type=text/javascript src=/static/js/app.31fe3e672243f1e1cf6e.js></script></body></html>
1 change: 1 addition & 0 deletions dist/static/css/app.f19bbab73848a15ec08d8ce47e34f181.css

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

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

6 changes: 6 additions & 0 deletions dist/static/js/app.31fe3e672243f1e1cf6e.js

Large diffs are not rendered by default.

0 comments on commit 8b47316

Please sign in to comment.