Skip to content

Commit 1d4d242

Browse files
authored
Merge pull request #17 from shunnmugam/master
copy plugin fix
2 parents d486cc8 + e0c2c5d commit 1d4d242

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"babel-eslint": "^10.0.2",
2727
"babel-loader": "^8.0.5",
2828
"chai": "^4.2.0",
29-
"copy-webpack-plugin": "^6.1.0",
29+
"copy-webpack-plugin": "^5.1.1",
3030
"coveralls": "^3.0.3",
3131
"enzyme": "^3.9.0",
3232
"enzyme-adapter-react-16": "^1.13.2",

webpack.config.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ module.exports = {
2323
],
2424
},
2525
plugins: [
26-
new CopyPlugin({
27-
patterns: [
26+
new CopyPlugin([
2827
{ from: './src/index.d.ts', to: './index.d.ts'}
29-
],
30-
}),
28+
]),
3129
],
3230
};

0 commit comments

Comments
 (0)