We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9120530 commit 1374338Copy full SHA for 1374338
src/index.js
@@ -33,7 +33,7 @@ const getOutputDir = (compiler) => {
33
return devServer.outputPath;
34
};
35
36
-export default (patterns = [], options = {}) => {
+export function CopyWebpackPlugin (patterns = [], options = {}) {
37
if (!_.isArray(patterns)) {
38
throw new Error('CopyWebpackPlugin: patterns must be an array');
39
}
@@ -237,3 +237,5 @@ export default (patterns = [], options = {}) => {
237
apply
238
239
240
+
241
+export default CopyWebpackPlugin;
0 commit comments