Builds ES6 into ES5, CommonJS, AMD and globals into a single file in a way that supports the CSP SystemJS loader as well as circular references.
Questions tagged [systemjs-builder]
41 questions
0
votes
1 answer
"systemjs-builder": How to build all dependencies in js file to one bundle.js file
I use systemjs-builder with angular2.
I want builder bundle files by each module file.
Ex: I have the structure as below
Main.ts
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from…

ThuyNguyen
- 1,127
- 3
- 14
- 24
0
votes
0 answers
How to export different bundles inside a same global namespace
I'm working on react project using jspm 0.17-beta.32 .
The application is composed of multiple packages (defined in jspm.config file).
I want each package to be bundled independently, as static builds, and to export its value inside a same global…

GBL
- 386
- 4
- 13
0
votes
0 answers
How to load JavaScript on-demand bundles without downloading same library twice in SystemJS?
Let's say, I have a React project and the main entry point is app.js. Where I include React, React-DOM and jQuery like this:
import React, {Component} from 'react';
import ReactDOM from 'react-dom';
...
Now imagine I have some routes defined here…

Nasif Md. Tanjim
- 3,862
- 4
- 28
- 38
0
votes
0 answers
Provider error when using systemjs-builder with gulp
I'm trying to bundle my angular 2 app for production.
In developpement we are using the file produce by the typescript compiler of Visual Studio (by using the "outFile" parameter of tsconfig.json) and load the module with System.js.
In production…

Pak
- 2,639
- 2
- 21
- 27
0
votes
1 answer
Angular 2 & BreezeJS & SystemJS Build - Multiple anonymous defines
I'm trying to build my Angular 2 & BreezeJS application by using SystemJS Build tool through gulpfile.
However when I try to execute the build task, I get Multiple anonymous defines error.
On the other hand, if I run the application by directly…

coni2k
- 2,535
- 2
- 20
- 21
0
votes
1 answer
Does System.js builder support preserving of License Comments when minifying / uglifying?
I have used r.js for years but I am moving to systemjs-builder. Is there a flag so I can have it preserve license comments at the top of the file like r.js used to with preserveLicenceComments: true?
My goal is the same, having all the 3rd party…

httpete
- 2,765
- 26
- 34
0
votes
1 answer
Error when running buil.prod in angular seed
I have cloned the latest angular seed version on which I based my personal project.
When I run npm run build.prod, I face this problem at build.bundles.app level.
[09:35:49] Starting 'build.bundles.app'...
[09:35:51] 'build.bundles.app' errored…

MChaker
- 2,610
- 2
- 22
- 38
0
votes
1 answer
Systemjs and tsc setup - *.ts.js 404 (Not Found) Error
I was just trying to create proof-of-concept TS + SystemJS project with minimum possible setup - without "Angular2 starter kit" and such.
I've spent an hour googling and tweaking this setup but it still doesn't work.
I have the following…

shershen
- 9,875
- 11
- 39
- 60
-1
votes
1 answer
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 include the angular framework and the rxjs…

Igor
- 60,821
- 10
- 100
- 175
-1
votes
1 answer
Unable to properly configure systemjs-builder with gulp
I'm trying to generate a static bundle of my angular 2 app (my goal is to have a single minified js file to import with a script tag without systemjs). My app has the following (simplified) structure:
MyProject/
app/
monitoring/
…

daveoncode
- 18,900
- 15
- 104
- 159
-2
votes
1 answer
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 project just like a regular cli project.
like
npm…

Aj1
- 953
- 2
- 15
- 42