This project is bootstrapped by aurelia/new.
npm start
npm run build
It builds all files to dist folder. To deploy to production server, copy all the dist/*
files to production root folder.
For example
dist/index.html
dist/foo.12345.js
Copy to production root folder
root_folder/index.html
root_folder/foo.12345.js
By Parcel2 conventions, the index.html
is in src/
folder.
To control the behaviour of ShadownDOM and CSS-Module setup in Aurelia 2, create a section "aurelia"
in the package.json
file.
https://www.npmjs.com/package/@aurelia/parcel-transformer
npx makes aurelia new-project-name -s dev,parcel,typescript,shadow-dom,sass