{"id":25376786,"url":"https://github.com/terrierscript/grunt-cssjoin","last_synced_at":"2025-10-30T08:31:26.223Z","repository":{"id":57153106,"uuid":"7639211","full_name":"terrierscript/grunt-cssjoin","owner":"terrierscript","description":"[DEPRECATED] Use postcss-import https://github.com/postcss/postcss-import","archived":false,"fork":false,"pushed_at":"2016-02-20T20:49:07.000Z","size":190,"stargazers_count":10,"open_issues_count":4,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-15T03:56:50.591Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terrierscript.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-16T04:28:59.000Z","updated_at":"2019-09-05T14:07:59.000Z","dependencies_parsed_at":"2022-09-09T09:22:31.688Z","dependency_job_id":null,"html_url":"https://github.com/terrierscript/grunt-cssjoin","commit_stats":null,"previous_names":["suisho/grunt-cssjoin"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Fgrunt-cssjoin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Fgrunt-cssjoin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Fgrunt-cssjoin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Fgrunt-cssjoin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terrierscript","download_url":"https://codeload.github.com/terrierscript/grunt-cssjoin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238945642,"owners_count":19556701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-15T04:39:18.948Z","updated_at":"2025-10-30T08:31:25.882Z","avatar_url":"https://github.com/terrierscript.png","language":"JavaScript","readme":"# grunt-cssjoin\r\n\r\nExtend and join css @import loaded file\r\n- If you want cssjoin without grunt, check [cssjoin](http://github.com/suisho/cssjoin) repository\r\n\r\n## Getting Started\r\nThis plugin requires Grunt `~0.4.0`\r\n\r\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\r\n\r\n```shell\r\nnpm install grunt-cssjoin --save-dev\r\n```\r\n\r\nOne the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\r\n\r\n```js\r\ngrunt.loadNpmTasks('grunt-cssjoin');\r\n```\r\n\r\n## The \"cssjoin\" task\r\n\r\n### Overview\r\nIn your project's Gruntfile, add a section named `cssjoin` to the data object passed into `grunt.initConfig()`.\r\n\r\n```js\r\ngrunt.initConfig({\r\n  cssjoin: {\r\n    production : {\r\n      options: {\r\n        // Task-specific options go here.\r\n      },\r\n      your_target: {\r\n        // Target-specific file lists and/or options go here.\r\n      },\r\n    }\r\n  },\r\n})\r\n```\r\n\r\n### Options\r\n\r\n#### options.paths\r\nType: `Array` or `String`\r\nCss @import resolve include paths()\r\n\r\n### Usage Examples\r\n\r\n#### Default Options\r\nIn this example, execute [cssjoin](http://github.com/suisho/cssjoin) to single convert.\r\n\r\n```js\r\ngrunt.initConfig({\r\n  cssjoin: {\r\n    join :{\r\n      files: {\r\n        'dest/bar.css': ['src/bar.css'],\r\n      },\r\n    }\r\n  },\r\n})\r\n```\r\n\r\n#### Path Options\r\nIn this example, setting cssjoin's paths.\r\n\r\n```js\r\ngrunt.initConfig({\r\n  cssjoin: {\r\n    path_option :{\r\n      options: {\r\n        paths : [\"src/\"]\r\n      },\r\n      files: {\r\n        'dest/default_options': ['src/foo.css', 'src/dir/bar.css'],\r\n      },\r\n    }\r\n  },\r\n})\r\n```\r\n\r\n#### Convert Same File.\r\nIn this example, execute [cssjoin](http://github.com/suisho/cssjoin) to same file\r\n```js\r\ngrunt.initConfig({\r\n  cssjoin: {\r\n    sameFile : {\r\n      files:  grunt.file.expandMapping([\"/src/*.css\"]),\r\n    }\r\n  }\r\n})\r\n```\r\n\r\n## Contributing\r\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\r\n\r\n\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrierscript%2Fgrunt-cssjoin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterrierscript%2Fgrunt-cssjoin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrierscript%2Fgrunt-cssjoin/lists"}