Skip to content

Commit

Permalink
Resolve webpack deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
drien committed Jan 18, 2024
1 parent a699fe8 commit 3f3abf3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const plugins = [
new BundleTracker({ filename: statsFile }),
new VueLoaderPlugin(),
new MiniCssExtractPlugin({
filename: devEnv ? '[name].css' : '[name].[hash].css',
chunkFilename: devEnv ? '[id].css' : '[id].[hash].css'
filename: devEnv ? '[name].css' : '[name].[fullhash].css',
chunkFilename: devEnv ? '[id].css' : '[id].[fullhash].css'
}),
new CleanWebpackPlugin(),
];
Expand Down Expand Up @@ -47,7 +47,7 @@ module.exports = {
},
output: {
path: path.resolve('./static/dist/'),
filename: '[name]-[hash].js',
filename: '[name]-[fullhash].js',
publicPath: '/webpack-dist/'
},
devtool: devEnv ? 'eval-cheap-source-map' : 'source-map',
Expand Down

0 comments on commit 3f3abf3

Please sign in to comment.