fictitious / test-systemjs-angular-gulp Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi,
I am trying to use systemjs-builder based on the config provided on this repo. My folder structure looks like this:
root -> client |--> ts
|--> js
|--> sass
|-->systemjs.config.js
I am running a gulp task to create dist.prod and the resultant structure would look like this:
dist.prod |--> js
|--> libs (I m copying all the angular depenedencies here)
|--> index.html
|-->systemjs.config.js (this refers to libs)
But while building the project(dependency bundling) the systemjs.config.js always tries to get it from root folder. Here is the sample repo for same.
https://github.com/ladvishal1985/ng2-systemjs-test.git
Please see if you could help me.
Hi ,
I have implemented budling by following all steps given here. but i m getting below error
only difference is all my component call happen through MVC controller. and we don have .html files for components. i see bundled files getting renderd in fiddler.
can somebody please help me on this ?
Unhandled Promise rejection: TypeError: Cannot read property 'get' of undefined
at http://localhost:56726/production/app.bundle.js:1:11141
at ZoneDelegate.invoke (http://localhost:56726/node_modules/zone.js/dist/zone.js:232:26)
Error loading http://localhost:56726/dist/configs/systemjs.config.js ; Zone: ; Task: Promise.then ; Value: Error: TypeError: Cannot read property 'get' of undefined
at http://localhost:56726/production/app.bundle.js:1:11141
at ZoneDelegate.invoke (http://localhost:56726/node_modules/zone.js/dist/zone.js:232:26)
Error loading http://localhost:56726/dist/configs/systemjs.config.js null
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.