Skip to content

allow global option via command line #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 4, 2017

Conversation

eugeneware
Copy link
Contributor

There's currently no way to pass in the global option via the browserify command line. Ie:

$ browserify -p [ css-modulesify -g -o bundle.css ] index.js -o bundle.js

Where index.js is a file that requires a CSS module from within node_modules. Eg:

const maxWidths = require('tachyons-max-widths');

This PR fixes this issue.

@eugeneware
Copy link
Contributor Author

I've published this as @eugeneware/css-modulesify until this gets merged in.

@joshwnj
Copy link
Member

joshwnj commented Apr 4, 2017

thanks @eugeneware !

@joshwnj joshwnj merged commit 46e875b into css-modules:master Apr 4, 2017
@joshwnj
Copy link
Member

joshwnj commented Apr 4, 2017

published as v0.27.2

@eugeneware
Copy link
Contributor Author

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants