You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be an issue with require('prismjs/components/index.js') that results in webpack importing all language files for prism and outputting a 530kB built file (or just over 1.5MB with map).
The following app.js will produce a build app.min.js weighing 36.7 kB:
There seems to be an issue with
require('prismjs/components/index.js')
that results in webpack importing all language files for prism and outputting a 530kB built file (or just over 1.5MB with map).The following
app.js
will produce a buildapp.min.js
weighing 36.7 kB:However the following
app.js
will produce aapp.min.js
weighing 583 kB:This is with using webpack 3.12.0 and the following
webpack.config.babel.js
:The text was updated successfully, but these errors were encountered: