{"id":15939461,"url":"https://github.com/jackhutu/jade-inject-webpack-plugin","last_synced_at":"2025-04-03T20:21:06.296Z","repository":{"id":57279055,"uuid":"64583972","full_name":"jackhutu/jade-inject-webpack-plugin","owner":"jackhutu","description":null,"archived":false,"fork":false,"pushed_at":"2017-02-11T13:54:29.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T23:34:35.830Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jackhutu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-31T08:17:42.000Z","updated_at":"2016-07-31T09:28:04.000Z","dependencies_parsed_at":"2022-09-11T18:14:34.526Z","dependency_job_id":null,"html_url":"https://github.com/jackhutu/jade-inject-webpack-plugin","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackhutu%2Fjade-inject-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackhutu%2Fjade-inject-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackhutu%2Fjade-inject-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackhutu%2Fjade-inject-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackhutu","download_url":"https://codeload.github.com/jackhutu/jade-inject-webpack-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247070923,"owners_count":20878587,"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":"2024-10-07T06:04:41.449Z","updated_at":"2025-04-03T20:21:06.265Z","avatar_url":"https://github.com/jackhutu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## jade-inject-webpack-plugin\njade模板注入依赖插件\n\n#### 安装\n```\n$ npm i --save-dev jade-inject-webpack-plugin\n```\n\n#### 使用方法\n```\n  new JadeInjectPlugin({\n    indent:['spaces',2], //默认空格2, 其它选项: ['tab',1]\n    filePath: name,      //模板文件路径\n    output: name,        //输出目录\n    inject: false,       //是否注入, 否则只是复制\n    injectJs: ['commons',filename], //注入的JS文件列表,可以不带扩展名, 数组格式\n    injectCss: [filename]   //注入的CSS文件列表,,可以不带扩展名, 数组格式\n  })\n```\n\n- indent 模板缩进的种类和数量,可选, 默认空格2 : ['spaces', 2]\n- filePath 必选\n- output 必选\n\n#### 详见Demo \n[https://github.com/jackhutu/koa2-webpack-startkit](https://github.com/jackhutu/koa2-webpack-startkit)\n\n### License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackhutu%2Fjade-inject-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackhutu%2Fjade-inject-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackhutu%2Fjade-inject-webpack-plugin/lists"}