create-guten-block icon indicating copy to clipboard operation
create-guten-block copied to clipboard

common.scss should be removable

Open DannyCooper opened this issue 6 years ago • 1 comments

For users that don't use a CSS pre-processor, the common.scss file provides no value. However it can't be deleted without causing errors.

File to import not found or unreadable: ./src/common.scss.
 in .../src/block/editor.scss (line 1, column 1)

DannyCooper avatar Aug 30 '18 17:08 DannyCooper

create-guten-block is an opinionated piece of tech. It uses Sass and you can just leave the common.scss file be. If you wish to remove it you'll have to eject.

In future versions I'll make it configurable with a dotenv file https://github.com/ahmadawais/create-guten-block/blob/master/packages/cgb-scripts/config/webpack.config.dev.js#L64

ahmadawais avatar Aug 31 '18 08:08 ahmadawais