suitcss / theme

Example theme for SUIT CSS

Home Page:http://suitcss.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`style` attribut in package.json

dtothefp opened this issue · comments

I read in webpack-postcss-tools repo webpack.config.js about a style attribute in package.json SUIT projects. I saw this in your project "style": "theme.css" and I'm wondering what it does?

I believe this is the equivalent of the main property so that when you require the package the tool in question (used to be rework-npm) knows what file to import. Basically you can just give webpack a list of properties to look at for getting a reference to the CSS file.

Most SUIT packages make use of an index.js to achieve this now.