Skip to content

Add helpers for js and css for Webpack4's splitChunks feature#7

Merged
nikushi merged 3 commits into
masterfrom
dev/split-chunks-api-support
Mar 25, 2019
Merged

Add helpers for js and css for Webpack4's splitChunks feature#7
nikushi merged 3 commits into
masterfrom
dev/split-chunks-api-support

Conversation

@nikushi

@nikushi nikushi commented Mar 22, 2019

Copy link
Copy Markdown
Owner

Like Webpacker, introduced two helper javascript_bundles_with_chunks_tag and stylesheet_bundles_with_chunks_tag. The purpose is to support splitChunks feature that Webpacker provides.

Note

Currently webpack-manifest-plugin does not generate a manifest with grouping chunk entries as arrays shellscape/webpack-manifest-plugin#181. Webpacker swithced to webpack-assets-manifest npm on the work rails/webpacker#1316. So, right now in order to these introduced helpers, you have to switch to webpack-assets-manifest npm.

@nikushi nikushi force-pushed the dev/split-chunks-api-support branch from a87354f to 7298e7b Compare March 25, 2019 14:02
@nikushi nikushi force-pushed the dev/split-chunks-api-support branch from 7298e7b to 3a09604 Compare March 25, 2019 14:04
@nikushi nikushi changed the title Support splitChunks Add helpers for js and css for Webpack4's splitChunks feature Mar 25, 2019
@nikushi nikushi merged commit deb1dd7 into master Mar 25, 2019
@nikushi nikushi deleted the dev/split-chunks-api-support branch March 25, 2019 14:10
@nikushi

nikushi commented Mar 25, 2019

Copy link
Copy Markdown
Owner Author

bumped as v0.2.4

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.

1 participant