Hello everyone,
im looking for an insight on my current difficulties with the upgrade toward Webpack 4.
we were using webpack for our apps for several months but we decided it was time to embrace the new version of WP4 because our version and other dependancies were old (“webpack”: “3.5.5”)
and as well update the Aurelia Stack in the mean time.
so here’s the new stack of dependencies I’m currently trying
{
“name”: “genius-spa-quote-desktop”,
“description”: “An Aurelia client application.”,
“version”: “0.1.0”,
“repository”: {
“type”: “???”,
“url”: “???”
},
“license”: “MIT”,
“dependencies”: {
“aurelia-animator-css”: “^1.0.4”,
“aurelia-bootstrapper”: “^2.3.3”,
“aurelia-framework”: “^1.3.1”,
“aurelia-store”: “1.6.0”,
“genius-common”: “file:…/genius-common”,
“genius-dal”: “file:…/genius-dal”,
“genius-services”: “file:…/genius-services”,
“i18next”: “^10.2.2”,
“prettier”: “^2.0.5”,
“sass-loader”: “^7.1.0”,
“tailwindcss”: “^1.0.5”
},
“devDependencies”: {
“@types/lodash”: “^4.14.149”,
“@types/node”: “^13.7.6”,
“@types/webpack”: “^4.41.6”,
“app-settings-loader”: “^1.0.3”,
“aurelia-cli”: “^1.3.1”,
“aurelia-loader-nodejs”: “^1.1.0”,
“aurelia-pal-nodejs”: “^2.0.0”,
“aurelia-testing”: “^1.0.0”,
“aurelia-webpack-plugin”: “^4.0.0”,
“clean-webpack-plugin”: “^3.0.0”,
“copy-webpack-plugin”: “^5.1.1”,
“css-loader”: “^3.4.2”,
“duplicate-package-checker-webpack-plugin”: “^3.0.0”,
“expose-loader”: “^0.7.5”,
“file-loader”: “^5.1.0”,
“gulp”: “^4.0.0”,
“html-loader”: “^0.5.5”,
“html-webpack-plugin”: “^3.2.0”,
“istanbul-instrumenter-loader”: “^3.0.1”,
“mini-css-extract-plugin”: “^0.9.0”,
“minimatch”: “^3.0.4”,
“promise-polyfill”: “^8.1.3”,
“style-loader”: “^1.1.3”,
“through2”: “^3.0.1”,
“tree-kill”: “^1.2.1”,
“ts-jest”: “^25.2.1”,
“ts-loader”: “^6.2.1”,
“ts-node”: “^8.6.2”,
“typescript”: “^3.8.2”,
“url-loader”: “^3.0.0”,
“vinyl-fs”: “^3.0.3”,
“webpack”: “^4.41.6”,
“webpack-bundle-analyzer”: “^3.6.0”,
“webpack-cli”: “^3.3.11”,
“webpack-dev-server”: “^3.10.3”
},
“scripts”: {
“build”: “webpack --env.production --extractCss”,
“start”: “webpack-dev-server --extractCss”,
“build:dev”: “webpack --extractCss”,
“analyze”: “webpack --env.production --analyze”,
“test”: “au test”
},
“engines”: {
“node”: “>=8.9.0”
}
}
I basically launched a new app using the aureli-cli : au new
and I added the dependencies I required to work with.
does someone can tell me how I can debug this issue ? im really stuck here.