Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change the dist-folder path in ember-cli?

I would like to use ember-cli with Laravel and I need to know how I can change the path of the dist folder.

like image 319
Constantin Avatar asked Jul 14 '14 17:07

Constantin


2 Answers

You can configure the output path by editing the .ember-cli file, which is located at the root of your project.

{
  "output-path": "my-output-folder/"
}

By default, this value is "dist/" for both 'build' and 'serve' commands, as you can see in the source code here:

https://github.com/stefanpenner/ember-cli/blob/0b7dcf3a0cdb35114643b076c91afda79efda6fc/lib/commands/build.js

https://github.com/stefanpenner/ember-cli/blob/0b7dcf3a0cdb35114643b076c91afda79efda6fc/lib/commands/serve.js

like image 56
Johnny Oshika Avatar answered Nov 14 '22 17:11

Johnny Oshika


Use the output path option when using ember build:

ember build --output-path=/not-dist
like image 40
Jordy Langen Avatar answered Nov 14 '22 15:11

Jordy Langen