Questions Tagged [Systemjs-Builder]
41 questions
66 votes
3 answers
2k views

How to include zone.js, reflect-metadata etc. in Systemjs builder task?

I'm using system.js and systemjs builder to create a dist folder with all the packed javascript files of my angular2 application. It works pretty nicely, except that it does not include the following ...
23 votes
1 answer
422 views

How do I get document injected into systemjs-builder for bundling a angular 4.0.0 app?

I'm trying to bundle an angular 4.0.0 app. I've tried browserify but the new angular-loader plugin (that allows for not needing the moduleId in components with templateUrl) does not get called and so ...
3 votes
1 answer
561 views

Cannot find module when importing with SystemJs in Angular

I'm trying to import an external module with SystemJs in Angular doing import { System } from 'systemjs'; declare const SystemJS: System; ... SystemJs.import('./assets/example/example.js'...
  • 1,094
1 vote
0 answers
47 views

Systemjs bundle

I am trying to create a bundle for my app files in Angular 5. I have the below gulp tasks. The "app-compile" seems to be running fine but "app-bundle" runs but doesn't create any folder or file. What ...
0 votes
1 answer
293 views

SystemJS bundling app dependencies for angular 5

I have Angular 5 app. And I want to minify and bundle my app as much as possible. This is configuration for SystemJS: (function (global) { System.config({ paths: { 'npm:': "...
0 votes
0 answers
93 views

Unexpected token < SystemJS Production build

I am using AngularJS writen in typescript and SystemJS module builder. My app's main file (app.ts) is located inside Scripts/App. SytemJS production configuration from gulpfile.js: gulp.task("...
  • 2,343
-2 votes
1 answer
295 views

Use Environment variables without Angular CLI

I am not using cli in my project. It is using system js builder to bundle stuff and node lite serve to serve contents. I am trying figure out if there is a way I can use environment variables in my ...
  • 963
1 vote
1 answer
344 views

How to handle the increasing size of bundled file using systemjs builder

We are in the process of upgrading our huge angularjs application to a hybrid angular application (angularjs + angular5) using systemjs. We have started implementing new features in angular 5. I am ...
  • 2,640
2 votes
1 answer
166 views

Lazy loading + Apply AOT on angular2 project with systemjs builder bundled projects

Where can i find sample Angular 2 project about apply aot and bundling on Angular2 SystemJs project(with lazy load module)? i do this by angular-cli. but how can i do this with systemjs?
8 votes
2 answers
3k views

Angular2 lazy loading modules: how to create a build package with SystemJS Builder?

i'm using Angular2 and SystemJS to create a web application. I have some modules in my app and in the router configuration i use lazy loading to open them. Here is a routing file of my app that lazy ...
21 votes
1 answer
11k views

Build Angular2 HTML and TypeScript to a single file

I'm putting together an app (Large scale) using Angular2 and TypeScript. It will need to be divided into numerous projects and each project will have numerous components each with a .html view, .css ...
0 votes
0 answers
395 views

Build production on SystemJS with systemjs-builder

I have my project that use SystemJS (i use a template that comes on this way). I need to build the final project to production env. I read that i can use systemjs-builder for this. I read the ...
  • 56.2k
3 votes
1 answer
511 views

rxjs bundle with systemjs for angular 2.0 application

This is killin' me.... I try to bundle rxjs to be used with systemjs and angular 2.0.0 var builder = require("systemjs-builder"); var bundler = new builder('./'); bundler.config({ ...
  • 53.8k
0 votes
0 answers
460 views

Angular 2 and DevExpress - DevExtreme

We are writing an angular 2 application utilising virtually all of the various components throughout the system somewhere. In development the page load times are incredibly slow as devexpress load ...
-1 votes
1 answer
365 views

SystemJs Ignores Angular Dependency Bundle

I am trying to get my angular application to the point where it is ready for distribution and I have managed to create 2 bundles, one for my angular application and one for my dependencies (which ...
  • 148k

15 30 50 per page
Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest