1.1.7 • Published 4 months ago

css-import-generator v1.1.7

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

css-import-generator

Recursively scans every scss, css, sass files under css-root-path and generates single file at destination which contains all import statements.

  • Available for both Windows(win32) and MacOS(posix) environment

ScreenShots

Below file is auto-generated. I'm using it for big project 😀

result-screenshot

Usage

  1. Install the package

    yarn add css-import-generator
    # or
    npm i css-import-generator
  2. Add below to your package.json

    "css-import-generator": {
       "css-root":"src/styles/css",
       "destination":"src/css-imports.js",
    }
    • css-root is necessary.

      If not given, it won't work.

    • destination field is optional.

      If not given, generated file will be at under {css-root}/index.js

  3. Run below code at project root path

    npx css-import-generator

Further Requirements?

If you need any extra functionality, please contact me > dev.kyungho@gmail.com

1.1.7

4 months ago

1.1.6

8 months ago

1.1.5

11 months ago

1.1.4

11 months ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago