D3をchartのチャンクに含める
This commit is contained in:
parent
9aa3bb43d3
commit
350360e2a9
4
webpack.mix.js
vendored
4
webpack.mix.js
vendored
@ -25,8 +25,8 @@ mix.js('resources/assets/js/app.js', 'public/js')
|
||||
'jquery': ['$', 'jQuery', 'window.jQuery']
|
||||
})
|
||||
.extract(['jquery', 'bootstrap'])
|
||||
.extract(['chart.js', 'chartjs-color', 'color-name', 'moment'], 'public/js/vendor/chart')
|
||||
.version();
|
||||
.extract(['chart.js', 'chartjs-color', 'color-name', 'moment', 'd3'], 'public/js/vendor/chart')
|
||||
.version()
|
||||
|
||||
if (process.argv.includes('-a')) {
|
||||
mix.bundleAnalyzer({analyzerMode: 'static'});
|
||||
|
Loading…
Reference in New Issue
Block a user