dojo / cli-build-webpack

🚀 **DEPRECATED** Dojo 2 - cli command for building applications
http://dojo.io
Other
4 stars 19 forks source link

--feature flag no longer working #244

Closed kitsonk closed 6 years ago

kitsonk commented 6 years ago

Bug

At some point, it seems the --feature and -f no longer do anything.

Package Version: 0.2.1

Code

$ dojo version

The currently installed groups are:

build (@dojo/cli-build-webpack) 0.2.1
create (@dojo/cli-create-app) 0.1.0

You are currently running @dojo/cli 0.2.0

$ dojo build
$ ls -lh dist/src/main.js
-rw-r--r--  1 kitsonk  staff   135K 23 Nov 13:25 dist/src/main.js
$ dojo build --features chrome
$ ls -lh dist/src/main.js
-rw-r--r--  1 kitsonk  staff   135K 23 Nov 13:26 dist/src/main.js

Expected behavior:

The build with --features chrome to be smaller than the build not using the flag.

Actual behavior:

The builds are the same size.