X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=webpack.mix.js;h=50fc31d4e4898126304260fcfde7ef9b798a330d;hb=2e305652a7471821c3b62a3f38a9b71a2c91ff7f;hp=8dd2c993e7005b084ed9be48f850c3da5f48ff05;hpb=899836047a90ee13a489142e9b0b70327674e831;p=alttp.git diff --git a/webpack.mix.js b/webpack.mix.js index 8dd2c99..50fc31d 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -11,7 +11,7 @@ const mix = require('laravel-mix'); | */ -mix.js('resources/js/app.js', 'public/js') +mix.js('resources/js/index.js', 'public/js') .react() .sass('resources/sass/app.scss', 'public/css') .extract([ @@ -25,22 +25,78 @@ mix.js('resources/js/app.js', 'public/js') '@restart/hooks', '@restart/ui', 'axios', + 'bootstrap', + 'call-bind', + 'classnames', + 'crc-32', + 'css-unit-converter', + 'decimal.js-light', + 'deepmerge', + 'dom-helpers', + 'eventemitter3', + 'fast-equals', + 'file-saver', 'formik', + 'function-bind', + 'get-intrinsic', + 'has', + 'has-symbols', + 'history', + 'hoist-non-react-statics', + 'html-escaper', + 'html-parse-stringify', 'i18next', 'i18next-browser-languagedetector', + 'invariant', + 'jquery', 'laravel-echo', + 'localforage', 'lodash', + 'lodash-es', 'moment', 'numeral', + 'nanoclone', + 'object-assign', + 'object-inspect', + 'openseadragon', + 'performance-now', + 'process', + 'prop-types', + 'prop-types-extra', + 'property-expr', 'pusher-js', + 'qs', + 'raf', 'react', 'react-bootstrap', 'react-dom', + 'react-fast-compare', 'react-i18next', + 'react-is', + 'react-lifecycles-compat', + 'react-resize-detector', + 'react-router', 'react-router-bootstrap', 'react-router-dom', + 'react-smooth', + 'react-transition-group', + 'reduce-css-calc', + 'regenerator-runtime', + 'resize-observer-polyfill', + 'scheduler', + 'side-channel', + 'tiny-warning', 'toastr', + 'toposort', + 'uncontrollable', + 'void-elements', + 'warning', 'yup', ]) .sourceMaps(true) - .version(); + .version() + .webpackConfig({ + output: { + chunkFilename: 'js/[chunkhash].js', + }, + });