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
Description
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
Labels
No labels