X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=webpack.mix.js;fp=webpack.mix.js;h=50fc31d4e4898126304260fcfde7ef9b798a330d;hb=237ebc69c5eb4fbfe226c4dcdc9711d7b18ddcd2;hp=97835cd93d3a8acebfeab33bbb062c0f66c9746d;hpb=78234fb1bc10eae96a6fa3b0b613154b20ff49a0;p=alttp.git diff --git a/webpack.mix.js b/webpack.mix.js index 97835cd..50fc31d 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -30,15 +30,6 @@ mix.js('resources/js/index.js', 'public/js') 'classnames', 'crc-32', 'css-unit-converter', - 'd3-array', - 'd3-color', - 'd3-format', - 'd3-interpolate', - 'd3-path', - 'd3-scale', - 'd3-shape', - 'd3-time', - 'd3-time-format', 'decimal.js-light', 'deepmerge', 'dom-helpers', @@ -89,8 +80,6 @@ mix.js('resources/js/index.js', 'public/js') 'react-router-dom', 'react-smooth', 'react-transition-group', - 'recharts', - 'recharts-scale', 'reduce-css-calc', 'regenerator-runtime', 'resize-observer-polyfill', @@ -105,4 +94,9 @@ mix.js('resources/js/index.js', 'public/js') 'yup', ]) .sourceMaps(true) - .version(); + .version() + .webpackConfig({ + output: { + chunkFilename: 'js/[chunkhash].js', + }, + });