Hello, Sorry, I won't be able to help you as I did not set up with typescript. Good luck.
Have a nice day! Thank you and Regards, Mayur Dudhani On Mon, Oct 17, 2016 at 4:49 AM, rajeev kumar <kumarrajeev...@gmail.com> wrote: > HI , > > Can you you help me ? how to use d.ts and handle build with webpack > > > On Thursday, 12 November 2015 22:53:18 UTC+5:30, Mayur Dudhani wrote: >> >> Thanks Kyle. >> I have something similar setup, but I am finding it hard to maintain the >> dependencies. I have to keep updating the ".d.ts" file also installing node >> modules and was wondering if there was an easier way to do things. >> >> On Wednesday, November 11, 2015 at 8:04:53 PM UTC-8, Kyle Cordes wrote: >>> >>> On Wednesday, November 11, 2015 at 12:39:00 PM UTC-6, Mayur Dudhani >>> wrote: >>>> >>>> I would like to get some feedback on the above mentioned combination. >>>> >>>> Also, I would really like if someone could point to a >>>> guide/example/anything to how to setup TypeScript with webpack. I tried to >>>> setup but I just keep running into errors. >>>> One more question, it looks like I need to have maintain a ".d.ts" file >>>> for TypeScript and npm dependency for webpack. Is there a way where I can >>>> combine them together or make it easier to maintain dependencies? >>>> >>>> >>> I know I have seen examples like this around the Internet. I have one >>> under development here, but it will be at least a few more weeks before we >>> get it published in full. But I can find a fragment for you and paste it >>> below. This is a webpack config - it works, we have already used it in a >>> Angular 2 class. Hopefully it helps. >>> >>> module.exports = { >>> context: __dirname + "/www", >>> entry: "./app/app", >>> output: { >>> path: __dirname + "/www", filename: "bundle.js" >>> }, >>> resolve: { >>> extensions: ['', '.js', '.ts'] >>> }, >>> module: { >>> loaders: [{ >>> test: /\.ts/, loaders: ['ts-loader'], exclude: /node_modules/ >>> }] >>> } >>> }; >>> >>> Kyle >>> >>> >>> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "AngularJS" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/angular/CthOq0Fdofw/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > angular+unsubscr...@googlegroups.com. > To post to this group, send email to angular@googlegroups.com. > Visit this group at https://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.