Building a Production Bundle from Aurelia-CLI
See original GitHub issueI’m submitting a bug report
- Library Version: 0.17.0
Please tell us about your environment:
- Operating System: Served on Linux (Ubuntu) Built on Windows 10
- Node Version: 6.3.1
- NPM Version: 3.10.6
- Browser: all
- Language: TypeScript 2.0
Current behavior:
vendor-bundle.js
is looking in the node_modules
folder for dependencies after bundling.
The following exception is being thrown: vendor-bundle.js:4122 GET http://localhost/node_modules/aurelia-templating-resources/dist/amd/aurelia-templating-resources.js
Expected/desired behavior:
run au build
or au build --env prod
Create docker container from Nginx, copy index.html
and scripts
folder into public nginx html folder.
- What is the expected behavior?
The
vendor-bundle.js
has all the dependencies required to deploy and run.
Issue Analytics
- State:
- Created 7 years ago
- Comments:38 (18 by maintainers)
Top Results From Across the Web
CLI's built-in Bundler - Aurelia
By default, the CLI bundler creates two bundles, an app-bundle.js , and a vendor-bundle.js . This is code splitting out of the box....
Read more >Building a Production Bundle from Aurelia-CLI - Stack Overflow
Using the Aurelia CLI, I've run au build --env prod in order to build a (what I assumed was a) production bundle.
Read more >Chapter 16. Deploying Aurelia applications - liveBook · Manning
By bundling your Aurelia applications, you can achieve much better performance on a live website. · The Aurelia CLI helps you by creating...
Read more >Aurelia 1.0: How to build a simple secured application - Auth0
This file contains all the information that the Aurelia CLI uses to build our project. Scroll down and you'll see a bundles section....
Read more >How to use the aurelia-cli.CLIOptions.hasFlag function in ...
log('Finish building Aurelia plugin to dist/commonjs and dist/native-modules.'); done(); } ); let main; if (CLIOptions.hasFlag('watch')) { main = gulp.series( ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sounds good. I just wanted you to be aware of it while you were in there in case you saw an easy way to address it.
@fedoranimus Thanks for the update! We recently found a few places where this was causing a problem. We’ll get it soon. Thanks for confirming it fixes your scenario!