Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Bug in Windows: rollup.js config file. #2507

Closed
@kaplan81

Description

@kaplan81

Following this cookbook:
https://angular.io/docs/ts/latest/cookbook/aot-compiler.html

And executing this command:
node_modules/.bin/rollup -c rollup.js

It turns out that, at least on Windows environment, it just opens the file rollup.js in your default code editor.

It should package the Angular 2 application into the file ./dist/build.js

My conclusion here is that the config file cannot be called rollup.js, I do not know why.
I changed it providing a random name: rollup-config.js
Then it worked perfectly :)

My environment:
Windows 8 64bit
Visual Studio Code 1.5.3
Node: 6.4.0
npm 3.10.3
Angular version: 2.0.0
Typescript 2.0.3

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