Skip to content

Commit c0723cb

Browse files
committed
fix(package): move @types to devDependencies
fixes: easy-webpack/core#21
1 parent a3188f6 commit c0723cb

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

package.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@
2929
},
3030
"homepage": "https://github.com/easy-webpack/config-uglify#readme",
3131
"devDependencies": {
32+
"@types/debug": "0.0.29",
33+
"@types/lodash": "^4.14.38",
34+
"@types/node": "^6.0.46",
35+
"@types/source-map": "^0.1.29",
36+
"@types/webpack": "^1.12.35",
3237
"ava": "^0.16.0",
3338
"greenkeeper-postpublish": "^1.0.1",
3439
"rimraf": "^2.5.4",
@@ -38,14 +43,7 @@
3843
"tslint-config-standard": "^1.5.0",
3944
"typescript": "^2.0.6"
4045
},
41-
"dependencies": {
42-
"@types/debug": "^0.0.29",
43-
"@types/lodash": "^4.14.37",
44-
"@types/node": "^6.0.46",
45-
"@types/source-map": "^0.1.28",
46-
"@types/uglify-js": "^2.6.28",
47-
"@types/webpack": "^1.12.35"
48-
},
46+
"dependencies": {},
4947
"peerDependencies": {
5048
"@easy-webpack/core": "*"
5149
},

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as webpack from 'webpack'
88
*
99
* See: https://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin
1010
*/
11-
export = function uglify({debug = false, exclude = [], mangle = {screw_ie8 : true, keep_fnames: true, except: []}} = {}) {
11+
export = function uglify({debug = false, exclude = [], mangle = {screw_ie8 : true, keep_fnames: true} as any} = {}) {
1212
return function uglify(this: WebpackConfigWithMetadata): WebpackConfigWithMetadata {
1313
const options = debug ? {
1414
beautify: true, //debug

0 commit comments

Comments
 (0)