Browse Source

Disable Hash from webpack

master
Shyim 7 years ago
parent
commit
cbad699ed6
  1. 6
      public/theme/build/webpack.prod.conf.js
  2. 2
      src/Command/CronRunnerCommand.php
  3. 14
      templates/index.twig

6
public/theme/build/webpack.prod.conf.js

@ -23,8 +23,8 @@ var webpackConfig = merge(baseWebpackConfig, { @@ -23,8 +23,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
@ -39,7 +39,7 @@ var webpackConfig = merge(baseWebpackConfig, { @@ -39,7 +39,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.

2
src/Command/CronRunnerCommand.php

@ -66,6 +66,4 @@ class CronRunnerCommand extends Command @@ -66,6 +66,4 @@ class CronRunnerCommand extends Command
$this->connection->executeQuery('TRUNCATE queue');
}
}
}

14
templates/index.twig

@ -2,19 +2,19 @@ @@ -2,19 +2,19 @@
<html>
<head>
<meta charset=utf-8>
<link rel=icon type=image/png sizes=96x96 href=static/img/favicon.png>
<link rel=icon type=image/png sizes=96x96 href="/static/img/favicon.png">
<meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1">
<title>ReCast</title>
<meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel=stylesheet>
<link href=https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css rel=stylesheet>
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700,300" rel=stylesheet type=text/css>
<link href=/static/css/nucleo-icons.css rel=stylesheet>
<link href=/static/css/app.f9e0b920ba08f55e25099eb5b6906de1.css rel=stylesheet>
<link href="/static/css/nucleo-icons.css" rel=stylesheet>
<link href="/static/css/app.css" rel=stylesheet>
</head>
<body>
<div id=app></div>
<script type=text/javascript src="/static/js/manifest.a8b934d3f99d55aa1097.js"></script>
<script type=text/javascript src="/static/js/vendor.351879f02e55740f07af.js"></script>
<script type=text/javascript src="/static/js/app.33f5a9dd38d26db01c10.js"></script>
<script type=text/javascript src="/static/js/manifest.js"></script>
<script type=text/javascript src="/static/js/vendor.js"></script>
<script type=text/javascript src="/static/js/app.js"></script>
</body>
</html>
Loading…
Cancel
Save