升级到webpack4
This commit is contained in:
29
package.json
29
package.json
@@ -6,8 +6,10 @@
|
||||
"types": "dist/index.d.ts",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "tsc & webpack",
|
||||
"dev": "tsc -w"
|
||||
"build": "tsc",
|
||||
"umd": "webpack --config ./config/webpack.umd.ts",
|
||||
"dev": "tsc -w",
|
||||
"type": "ts-node ./utils/copy_type.ts"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -16,14 +18,23 @@
|
||||
"author": "cx",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@types/node": "^10.1.2",
|
||||
"@types/three": "^0.92.0",
|
||||
"awesome-typescript-loader": "^3.4.1",
|
||||
"typescript": "^2.8.3",
|
||||
"uglifyjs-webpack-plugin": "^1.2.5",
|
||||
"webpack": "^3.10.0"
|
||||
"@types/hard-source-webpack-plugin": "^0.9.0",
|
||||
"@types/node": "^10.7.1",
|
||||
"@types/three": "^0.92.17",
|
||||
"@types/uglifyjs-webpack-plugin": "^1.1.0",
|
||||
"@types/webpack": "^4.4.10",
|
||||
"awesome-typescript-loader": "^5.2.0",
|
||||
"fork-ts-checker-webpack-plugin": "^0.4.8",
|
||||
"hard-source-webpack-plugin": "^0.12.0",
|
||||
"ts-loader": "^4.4.2",
|
||||
"ts-node": "^7.0.1",
|
||||
"typescript": "^3.0.1",
|
||||
"uglifyjs-webpack-plugin": "^1.3.0",
|
||||
"webpack": "^4.16.5",
|
||||
"webpack-cli": "^3.1.0",
|
||||
"webpack-merge": "^4.1.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"three": "^0.92.0"
|
||||
"three": "^0.95.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user