aurelia-cli

Aurelia CLI & TypeScript & MomentJS

夙愿已清 提交于 2019-12-01 06:18:52
问题 I'm not getting Aurelia (CLI) & TypeScript & MomentJS to work together. I've seen solutions for Aurelia & Moment problems but they don't use the Aurelia CLI. Here's what I'm doing at the moment: New Aurelia project using Aurelia CLI: au new I select TypeScript instead of Babel. Install moment npm install moment --save This installs Moment 2.4.1. I can find it (including the moment.d.ts) from node_modules. Edit aurelia.json I Add "moment" to "dependencies": Use Moment in app.ts Problems start

Client side cache busting using the CLI

给你一囗甜甜゛ 提交于 2019-11-30 14:09:25
We're using the aurelia-cli . The tasks include these: build.json build.ts process-css.ts process-markup.ts process-sass.ts run.json run.ts test.json test.ts transpile.ts How if at all do we do a cache-busting solution the with cli? What we've tried already is to increment the number of the scripts directory, so that it goes scripts1 , scripts2 , scriptsN . Shaun Luttin 0.20.0 Support It's my lucky day. An aurelia-cli release from 8 hours ago says this: Features: Support bundle revision numbers Walkthru First, install 0.20.0 and create a new app. npm install aurelia-cli@">=0.20.0" -g au new my