Skip to content

Commit

Permalink
hash names
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjschuster committed May 8, 2019
1 parent a64e8c2 commit 2456d96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ input.checkbox[type="checkbox"]:focus + label::before {
font-family: "Font Awesome 5 Free";
}


.code-flyout {
position: fixed;
top: var(--header-height);
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const common = {
entry: './src/index.js',
output: {
path: path.join(__dirname, 'dist'),
filename: 'static/[name].js'
filename: 'static/[name].[hash].js'
},
resolve: {
extensions: ['.js', '.jsx']
Expand Down Expand Up @@ -90,7 +90,7 @@ const common = {
template: 'src/index.html',
filename: 'index.html'
}),
new ExtractTextPlugin('static/[name].css'),
new ExtractTextPlugin('static/[name].[hash].css'),
new CopyWebpackPlugin([{ from: 'assets', to: './static' }])
]
}
Expand Down

0 comments on commit 2456d96

Please sign in to comment.