Migrated from parcel to webpack
The whole idea of parcel was that it was configless. Now parcel 2 needs a config file. At that point, why not use webpack?
This commit is contained in:
21
package.json
21
package.json
@@ -1,15 +1,24 @@
|
||||
{
|
||||
"license": "",
|
||||
"scripts": {
|
||||
"start": "parcel serve src/index.html --open",
|
||||
"build": "parcel build src/index.html"
|
||||
"start": "webpack serve --mode=development",
|
||||
"build": "run-s clean build-only",
|
||||
"build-only": "webpack --mode=production",
|
||||
"clean": "rimraf dist"
|
||||
},
|
||||
"dependencies": {
|
||||
"pixi.js": "^6.1.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"parcel-bundler": "^1.12.5",
|
||||
"parcel-plugin-static-files-copy": "^2.6.0",
|
||||
"typescript": "^4.4.3"
|
||||
"npm-run-all": "^4.1.5",
|
||||
"copy-webpack-plugin": "^9.0.1",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"terser-webpack-plugin": "^5.2.4",
|
||||
"ts-loader": "^9.2.6",
|
||||
"typescript": "^4.4.4",
|
||||
"webpack": "^5.61.0",
|
||||
"webpack-cli": "^4.9.1",
|
||||
"webpack-dev-server": "^4.4.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user