reactway / scss-bundle

Bundling SCSS files to one bundled file.
MIT License
56 stars 25 forks source link

v3.0.1 "--c" flag disappeared. #75

Closed damienwebdev closed 4 years ago

damienwebdev commented 5 years ago

Describe the bug v2.5.1 has a --c flag which indicates to the CLI where the config.json file lives. This seems to have been remapped in v3.0.1 to --p. The issue with --p is that in the event you have multiple config.json files and they aren't stored in your project directory, this paradigm doesn't work.

To Reproduce Create a project where config is stored in a different directory than node_modules. Try to utilize that config file from the CLI.

Expected behavior I should be able to explicitly pass where my config file is located.

Package version: v3.0.1 Node version: v10.15.0 OS: MacOS

literalpie commented 5 years ago

it's strange the the --c flag isn't mentioned in the readme

MartynasZilinskas commented 4 years ago

I have published a canary version with -c option. Also added project property in bundlerOptions. Try it, and if it works, leave a comment we will close this issue and publish as normal version.

$ npm install scss-bundle@0.0.0-canary.9f111cb -D
cmurczek-it commented 4 years ago

I ran into the same issue as @damienwebdev. After installing the canary build @MartynasZilinskas mentioned, the -c flag is working again.

manpuriasudip commented 4 years ago

I am using 3.0.2 version and facing this issue. I see that this is not yet released. Any updates on when it will be released ?

MartynasZilinskas commented 4 years ago

@manpuriasudip I have released v3.1.0 package with --config flag.