Skip to content
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

Optional sheetify.json? #120

Closed
jamsinclair opened this issue Mar 16, 2017 · 2 comments
Closed

Optional sheetify.json? #120

jamsinclair opened this issue Mar 16, 2017 · 2 comments

Comments

@jamsinclair
Copy link

jamsinclair commented Mar 16, 2017

Slightly related to #119. I find plugins pollute the package.json browserify property and become a bit cumbersome due to heavy nesting.

What are gut feelings towards an optional sheetify.json file?

E.g.

sheetify.json file with plugins and options defined

{
  "use": [
    "sheetify-sass",
    [
      "sheetify-postcss",
      {
        "plugins": [
          "autoprefixer"
        ]
      }
    ]
  ],
  "basedir": "."
}

My now cleaner package.json

.......
  "browserify": {
    "transform": [
      "sheetify/transform",
      "babelify"
    ]
  }
.......

I'm happy to contribute a PR to add this functionality, if contributors/owners are okay with this suggestion and direction 😸

@yoshuawuyts
Copy link
Contributor

yoshuawuyts commented Mar 16, 2017 via email

@jamsinclair
Copy link
Author

Good point, totally makes sense 👍

Closing, because issue question now answered.

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

No branches or pull requests

2 participants