Created
February 3, 2019 12:21
-
-
Save HamidOsouli-zz/927b255bdf0500a905583231835e8356 to your computer and use it in GitHub Desktop.
Common vendor chunk webpack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
templateList.push( | |
new CommonsChunkPlugin({ | |
name: 'vendor', | |
filename: 'vendor.weedoo.js', | |
minChunks: ({ resource }) => /node_modules/.test(resource), | |
}) | |
); | |
templateList.push( | |
new CommonsChunkPlugin({ | |
name: 'common', | |
filename: 'common.weedoo.js', | |
chunks: ['panel', 'customer'] | |
}) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment