mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Webpack: Add Dll(Reference)Plugin tests
This commit is contained in:
@@ -278,6 +278,27 @@ plugin = new webpack.ContextReplacementPlugin(
|
||||
resourceRegExp,
|
||||
newContentResource);
|
||||
plugin = new webpack.ContextReplacementPlugin(resourceRegExp);
|
||||
plugin = new webpack.DllPlugin({
|
||||
context: 'dir-context',
|
||||
name: 'dll-name',
|
||||
path: 'manifest-path'
|
||||
});
|
||||
plugin = new webpack.DllPlugin([{
|
||||
context: 'dir-context',
|
||||
name: 'dll-name',
|
||||
path: 'manifest-path'
|
||||
}]);
|
||||
plugin = new webpack.DllReferencePlugin({
|
||||
content: 'dll content',
|
||||
context: 'dir-context',
|
||||
manifest: {
|
||||
content: 'dll content',
|
||||
name: 'dll name'
|
||||
},
|
||||
name: 'dll name',
|
||||
scope: 'dll prefix',
|
||||
sourceType: 'var'
|
||||
});
|
||||
plugin = new webpack.IgnorePlugin(requestRegExp);
|
||||
plugin = new webpack.IgnorePlugin(requestRegExp, contextRegExp);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user