Skip to content

Fix package.json to supporting AoT compilation #64

Closed
@newapx

Description

@newapx

I try use webpack and after command npm run start-android-bundle got the error: not find module nativescript-imagepicker.

For correct compilation I replace in package.json property main
from "main": "viewmodel.js", to "main": "viewmodel",

More info: https://docs.nativescript.org/angular/tooling/bundling-with-webpack.html#recommendations-for-plugin-authors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions