Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for webpack 2.2.0 #5

Open
imaginationcoder opened this issue Mar 19, 2017 · 4 comments
Open

support for webpack 2.2.0 #5

imaginationcoder opened this issue Mar 19, 2017 · 4 comments

Comments

@imaginationcoder
Copy link

Hi ,
I am getting below error when I run with webpack support.
Nativescript 2.5.2 | tns-ios: 2.5.0 | angular 2.4.5

npm run start-ios-bundle
also added below line to 'references.d.ts'
/// <reference path="./node_modules/nativescript-effects/tns-effects.d.ts" />

myclass.component.ts
let tnsfx = require('nativescript-effects');

ERROR in ./pages/myclass/myclass.component.ts
Module not found: Error: Can't resolve 'nativescript-effects' in '/Users/maisapride7/workspace/KIDSAPP/tingr-ns-app/app/pages/myclass'

@alexziskind1
Copy link
Owner

Thanks for reporting this. Webpack is not yet supported with this plugin and you're the first reporting about using it. It would be great if you submit a pull request.

@svzi
Copy link

svzi commented Sep 5, 2017

I would like to use this plugin with Webpack as well. Any plans on supporting it?

If I would knew what to do, I would make a PR, but I'm still trying to get my app even working with Webpack, so I'm probably not the best fit for the job. ;)

@alexziskind1
Copy link
Owner

alexziskind1 commented Sep 6, 2017 via email

@svzi
Copy link

svzi commented Sep 6, 2017

Great news, appreciate that! Could you please update this ticket again, when you solved it or when you publish a new branch or something like that? Any progress would be nice to know about. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants