Hello Everyone,
In the spirit of firing up Au 2.0RC…
I just ran npx makes aurelia with the following configuration (copied from the terminal):
npx makes aurelia new-project-name -s babel,vitest
and Vite 6.0.3 is installed, not Vite 7. These are the relevant bits of the package.json file:
"dependencies": {
"aurelia": "latest",
"@aurelia/router": "latest"
},
"devDependencies": {
"eslint": "^9.17.0",
"globals": "^15.14.0",
"@aurelia/testing": "latest",
"stylelint": "^16.12.0",
"stylelint-config-standard": "^36.0.1",
"@aurelia/vite-plugin": "latest",
"vite": "^6.0.3",
"vite-plugin-node-polyfills": "^0.22.0",
"vite-plugin-babel": "^1.3.0",
"vitest": "^2.1.8",
"jsdom": "^25.0.1",
"@babel/plugin-proposal-decorators": "^7.25.9",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/eslint-parser": "^7.25.9"
},
...
"type": "module",
"overrides": {
"vite-plugin-node-polyfills": {
"vite": "^6.0.0"
}
}
Should we not be running Vite 7?
Also, I am still unable to configure a launch file that is compatible with this skeleton in that breakpoints are still displaced, as I indicated in this post a year ago: Default Aurelia app scaffolding (first "makes" option) produces displaced breakpoints under Vite .
I followed the advice/discourse of @huochunpeng and @davidsk once again, and I’m still unable to make this work. Breakpoints are displaced in both vscode and in devtools.
It’s really starting to bum me out that the only configuration I can get to work is the Webpack/Babel configuration. I have abandoned the idea of being able to continue with the babel-contracts-plugin; I should move forward with Vite, and I’m good with that.
I completely uninstalled vscode, right out to the folders on my Mac, and then reinstalled it. I tried again before any extensions were installed. Still no luck. Also, my Mac is relatively new, used primarily for development.
What on earth could be the problem?
