Package updates
This commit is contained in:
parent
ae3f05b8f7
commit
bfd62304ae
4 changed files with 752 additions and 1915 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue