2

I know that angular-cli has moved to webpack from SystemJS. But for a specific problem (Posted here) I need to load/assemble my project at client side, so I prefer SystemJS.

Right now the project is running with angular-cli default configuration and lots of functionality is been developed. So I need a very easy way to move to SystemJS from Webpack.

Can any one please help me regarding that?

Note: I do not want to compromise angular-cli advantages like :code generation, unit test etc.

My angular-cli version is : '1.0.0-beta-21'

Update 1

Actually I want to run the same application on SystemJS so that I can deploy that on a different WebServer and load the HTML and TS files run time. Even though the developers will work on angular-cli and webpack.

That means I want my project to run on SystemJS along with webpack and angular-cli.

8
  • You are more than like going to have to go back to a version of the CLI that was using SystemJS. Beta 10, or prior. Commented Feb 24, 2017 at 0:38
  • Is it not possible the same project such that it will also run on SystemJS. I just need to use a different npm command. Commented Feb 24, 2017 at 5:18
  • Found some way to integrate SystemJS also in Angular CLI which will run beside webpack if needed. Commented Mar 2, 2017 at 7:51
  • Are you able to share how you managed to integrate systemjs and angular-cli? Commented Jul 6, 2017 at 9:12
  • I will share it soon here as an answer. I am little busy now. Commented Jul 6, 2017 at 11:17

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.