Package updates

This commit is contained in:
Dane Everitt 2019-12-07 12:12:33 -08:00
parent ae3f05b8f7
commit bfd62304ae
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 752 additions and 1915 deletions

View file

@ -53,7 +53,11 @@ module.exports = {
performance: {
hints: false,
},
entry: ['./resources/styles/main.css', './resources/scripts/index.tsx'],
entry: [
'react-hot-loader/patch',
'./resources/styles/main.css',
'./resources/scripts/index.tsx',
],
output: {
path: path.resolve(__dirname, 'public/assets'),
filename: isProduction ? 'bundle.[chunkhash:8].js' : 'bundle.[hash:8].js',
@ -138,7 +142,6 @@ module.exports = {
extensions: ['.ts', '.tsx', '.js', '.json'],
alias: {
'@': path.join(__dirname, 'resources/scripts'),
'react-dom': '@hot-loader/react-dom',
},
symlinks: false,
},