Skip to content

Improve webpack config#333

Open
fabon-f wants to merge 5 commits intohakatashi:masterfrom
fabon-f:improve-webpack
Open

Improve webpack config#333
fabon-f wants to merge 5 commits intohakatashi:masterfrom
fabon-f:improve-webpack

Conversation

@fabon-f
Copy link
Contributor

@fabon-f fabon-f commented May 31, 2023

  • Remove plugins that are no longer necessary (already included in babel-preset-env)
  • Update target browsers
  • Remove source map in production build
  • Replace deprecated @babel/polyfill

Copy link
Owner

@hakatashi hakatashi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Remove source map in production build

Is there any rationale for this? Since this project is a toy project and open source, publishing a sourcemap is considered useful for debugging.

browsers,
},
useBuiltIns: 'entry',
corejs: require('core-js/package.json').version,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[SHOULD] Move all requires to the top.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants