{"_id":"style-resources-loader","_rev":"1893316","name":"style-resources-loader","description":"CSS processor resources loader for webpack","dist-tags":{"latest":"1.5.0"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"time":{"modified":"2023-06-21T16:40:33.000Z","created":"2017-11-02T08:52:42.082Z","1.5.0":"2021-12-08T08:36:57.368Z","1.4.1":"2020-11-17T12:31:56.583Z","1.4.0":"2020-11-17T08:11:21.584Z","1.3.3":"2019-12-19T03:38:22.623Z","1.3.2":"2019-11-11T06:08:56.790Z","1.3.1":"2019-11-11T05:54:52.335Z","1.3.0":"2019-11-11T02:51:08.758Z","1.2.1":"2018-08-11T16:34:18.213Z","1.2.0":"2018-08-11T09:41:40.147Z","1.1.0":"2018-02-28T08:37:04.028Z","1.0.0":"2017-12-05T11:06:52.767Z","0.6.0":"2017-12-04T16:49:11.747Z","0.5.3":"2017-12-03T18:07:25.711Z","0.5.2":"2017-12-03T17:40:19.690Z","0.5.1":"2017-11-29T06:46:04.330Z","0.5.0":"2017-11-28T17:25:37.127Z","0.4.0":"2017-11-27T12:05:31.273Z","0.3.0":"2017-11-19T16:52:57.186Z","0.2.2":"2017-11-02T16:18:42.449Z","0.2.1":"2017-11-02T16:11:10.135Z","0.2.0":"2017-11-02T13:06:49.169Z","0.1.0":"2017-11-02T08:52:42.082Z"},"users":{},"author":{"name":"Yan Shi","email":"yenshih95@gmail.com","url":"https://github.com/yenshih"},"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"versions":{"1.5.0":{"name":"style-resources-loader","version":"1.5.0","description":"CSS processor resources loader for webpack","author":{"name":"Yan Shi","email":"yenshih95@gmail.com","url":"https://github.com/yenshih"},"license":"MIT","engines":{"node":">=8.9"},"main":"lib/index.js","scripts":{"clean":"rimraf lib coverage test/**/outputs","lint":"eslint . --ext .js,.jsx,.ts,.tsx","prettier":"prettier {src,test}/**/*.ts --write","test":"jest","coverage":"npm test -- --coverage","posttest":"rimraf test/**/outputs","start":"tsc -w","build":"tsc -d","prepare":"npm run clean && npm run lint && npm run build && npm run coverage"},"keywords":["webpack","loader","style","css","sass","scss","less","stylus","inject","resource","variable","mixin"],"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"homepage":"https://github.com/yenshih/style-resources-loader","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"dependencies":{"glob":"^7.2.0","loader-utils":"^2.0.0","schema-utils":"^2.7.0","tslib":"^2.3.1"},"devDependencies":{"@commitlint/cli":"^15.0.0","@commitlint/config-conventional":"^15.0.0","@types/glob":"^7.2.0","@types/is-promise":"^2.2.0","@types/jest":"^27.0.3","@types/loader-utils":"^2.0.3","@types/node":"^16.11.12","@types/webpack":"^4.41.25","@types/webpack-merge":"^5.0.0","@typescript-eslint/eslint-plugin":"^5.6.0","@typescript-eslint/parser":"^5.6.0","coveralls":"^3.1.1","cross-env":"^7.0.3","eslint":"^8.4.1","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.3","eslint-plugin-prettier":"^4.0.0","husky":"^7.0.4","jest":"^27.4.3","lint-staged":"^12.1.2","prettier":"^2.5.1","raw-loader":"^4.0.2","ts-jest":"^27.1.0","typescript":"^4.5.2","webpack":"^4.46.0","webpack-merge":"^5.8.0"},"peerDependencies":{"webpack":"^3.0.0 || ^4.0.0 || ^5.0.0"},"sideEffects":false,"gitHead":"db4d05531705619c0760d3c57a08f6fb610b96d7","_id":"style-resources-loader@1.5.0","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"shasum":"6e0585ca475b9dac45387c308be90d74c814f41f","size":14358,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-1.5.0.tgz"},"_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"directories":{},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader_1.5.0_1638952617195_0.7801466273859241"},"_hasShrinkwrap":false,"publish_time":1638952617368,"_cnpm_publish_time":1638952617368},"1.4.1":{"name":"style-resources-loader","version":"1.4.1","description":"CSS processor resources loader for webpack","author":{"name":"Yan Shi","email":"yenshih95@gmail.com","url":"https://github.com/yenshih"},"license":"MIT","engines":{"node":">=8.9"},"main":"lib/index.js","scripts":{"clean":"rimraf lib coverage test/**/outputs","lint":"eslint . --ext .js,.jsx,.ts,.tsx","prettier":"prettier {src,test}/**/*.ts --write","test":"jest","coverage":"npm test -- --coverage","posttest":"rimraf test/**/outputs","start":"tsc -w","build":"tsc -d","prepare":"npm run clean && npm run lint && npm run build && npm run coverage"},"keywords":["webpack","loader","style","css","sass","scss","less","stylus","inject","resource","variable","mixin"],"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"homepage":"https://github.com/yenshih/style-resources-loader","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"dependencies":{"glob":"^7.1.6","loader-utils":"^2.0.0","schema-utils":"^3.0.0"},"devDependencies":{"@commitlint/cli":"^11.0.0","@commitlint/config-conventional":"^11.0.0","@types/glob":"^7.1.3","@types/is-promise":"^2.1.0","@types/jest":"^26.0.15","@types/loader-utils":"^2.0.1","@types/node":"^14.14.7","@types/webpack":"^4.41.25","@types/webpack-merge":"^4.1.5","@typescript-eslint/eslint-plugin":"^4.8.0","@typescript-eslint/parser":"^4.8.0","coveralls":"^3.0.9","cross-env":"^7.0.2","eslint":"^7.13.0","eslint-config-prettier":"^6.15.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.2","husky":"^4.3.0","jest":"^26.6.3","lint-staged":"^10.5.1","prettier":"^2.1.2","raw-loader":"^4.0.2","ts-jest":"^26.4.4","typescript":"^4.0.5","webpack":"^5.4.0","webpack-merge":"^5.4.0"},"peerDependencies":{"webpack":"^3.0.0 || ^4.0.0 || ^5.0.0"},"sideEffects":false,"gitHead":"62165107d5360b22466e50d652bce68a1e1a7022","_id":"style-resources-loader@1.4.1","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"shasum":"87f520e6c8120a71e756726c1c53a78c544ca7db","size":14300,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-1.4.1.tgz"},"_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"directories":{},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader_1.4.1_1605616316388_0.7417623316761797"},"_hasShrinkwrap":false,"publish_time":1605616316583,"_cnpm_publish_time":1605616316583},"1.4.0":{"name":"style-resources-loader","version":"1.4.0","description":"CSS preprocessor resources loader for webpack","engines":{"node":">=7.6"},"main":"lib/index.js","files":["lib","src","index.d.ts"],"scripts":{"clean":"rimraf lib coverage","lint":"tslint -p .","test":"jest --colors","test:coverage":"npm test -- --coverage","posttest":"rimraf test/**/outputs","start":"tsc --outDir lib -w","build":"tsc --outDir lib -d","prepare":"npm run clean && npm run lint && npm run build && npm run test"},"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"keywords":["webpack","loader","style","sass","scss","less","stylus","inject","resource","variable","mixin"],"authors":["Shi Yan <yenshih95@gmail.com> (https://github.com/yenshih)"],"license":"MIT","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"npmName":"style-resources-loader","jest":{"transform":{".(ts|tsx)":"./node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"mapCoverage":true,"coveragePathIgnorePatterns":["node_modules","test","src"]},"dependencies":{"glob":"^7.1.2","loader-utils":"^1.1.0"},"devDependencies":{"@types/glob":"^5.0.33","@types/jest":"^21.1.8","@types/loader-utils":"^1.1.0","@types/node":"^8.0.54","@types/webpack":"^3.8.1","@types/webpack-merge":"^4.1.1","coveralls":"^3.0.0","cross-env":"^5.0.5","jest":"^21.2.1","raw-loader":"^0.5.1","ts-jest":"^21.2.4","tslint":"^5.7.0","tslint-config-airbnb":"^5.4.2","typescript":"^2.6.2","webpack":"^3.10.0","webpack-merge":"^4.1.1"},"peerDependencies":{"webpack":"^2.0.0 || >= 3.0.0-rc.0 || ^3.0.0"},"browserify":{"transform":["loose-envify"]},"gitHead":"95d787e6c494cb6d9186e55c1b5b1e5c8c82d622","homepage":"https://github.com/yenshih/style-resources-loader#readme","_id":"style-resources-loader@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"dist":{"shasum":"a2290ca7366e4d1f90c93d304a55194bfd2e8dc0","size":9887,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-1.4.0.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader-1.0.0.tgz_1512472012538_0.41004512761719525"},"directories":{},"publish_time":1605600681584,"_hasShrinkwrap":false,"_cnpm_publish_time":1605600681584,"_cnpmcore_publish_time":"2021-12-16T12:45:44.315Z"},"1.3.3":{"name":"style-resources-loader","version":"1.3.3","description":"CSS processor resources loader for webpack","author":{"name":"Shi Yan","email":"yenshih95@gmail.com","url":"https://github.com/yenshih"},"license":"MIT","engines":{"node":">=7.6"},"main":"lib/index.js","scripts":{"clean":"rimraf lib coverage test/**/outputs","lint":"eslint . --ext .js,.jsx,.ts,.tsx","prettier":"prettier {src,test}/**/*.{js,jsx,ts,tsx} --write","test":"jest --detectOpenHandles","coverage":"npm test -- --coverage","posttest":"rimraf test/**/outputs","start":"tsc -w","build":"tsc -d","prepare":"npm run clean && npm run lint && npm run build && npm run coverage"},"keywords":["webpack","loader","style","css","sass","scss","less","stylus","inject","resource","variable","mixin"],"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"homepage":"https://github.com/yenshih/style-resources-loader","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"dependencies":{"glob":"^7.1.6","is-promise":"^2.1.0","loader-utils":"^1.2.3","schema-utils":"^2.6.1"},"devDependencies":{"@commitlint/cli":"^8.2.0","@commitlint/config-conventional":"^8.2.0","@types/glob":"^7.1.1","@types/is-promise":"^2.1.0","@types/jest":"^24.0.24","@types/loader-utils":"^1.1.3","@types/node":"^12.12.21","@types/webpack":"^4.41.0","@types/webpack-merge":"^4.1.5","@typescript-eslint/eslint-plugin":"^2.12.0","@typescript-eslint/parser":"^2.12.0","coveralls":"^3.0.9","cross-env":"^6.0.3","eslint":"^6.7.2","eslint-config-prettier":"^6.7.0","eslint-plugin-import":"^2.19.1","eslint-plugin-prettier":"^3.1.2","husky":"^3.1.0","jest":"^24.9.0","lint-staged":"^9.5.0","prettier":"^1.19.1","raw-loader":"^4.0.0","ts-jest":"^24.2.0","typescript":"^3.7.3","webpack":"^4.41.3","webpack-merge":"^4.2.2"},"peerDependencies":{"webpack":"^3.0.0 || ^4.0.0"},"sideEffects":false,"gitHead":"ac565691bde0e5178316444d05155de220e49efa","_id":"style-resources-loader@1.3.3","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"shasum":"e4b3ab93e7c3d1606e86f9549522a0b5c4ad6812","size":14065,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-1.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-1.3.3.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader_1.3.3_1576726702474_0.10118223352967304"},"_hasShrinkwrap":false,"publish_time":1576726702623,"_cnpm_publish_time":1576726702623},"1.3.2":{"name":"style-resources-loader","version":"1.3.2","description":"CSS processor resources loader for webpack","author":{"name":"Shi Yan","email":"yenshih95@gmail.com","url":"https://github.com/yenshih"},"license":"MIT","engines":{"node":">=7.6"},"main":"lib/index.js","scripts":{"clean":"rimraf lib coverage test/**/outputs","lint":"eslint . --ext .js,.jsx,.ts,.tsx","prettier":"prettier {src,test}/**/*.{js,jsx,ts,tsx} --write","test":"jest --detectOpenHandles","coverage":"npm test -- --coverage","posttest":"rimraf test/**/outputs","start":"tsc -w","build":"tsc -d","prepare":"npm run clean && npm run lint && npm run build && npm run coverage"},"keywords":["webpack","loader","style","css","sass","scss","less","stylus","inject","resource","variable","mixin"],"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"homepage":"https://github.com/yenshih/style-resources-loader","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"dependencies":{"glob":"^7.1.6","is-promise":"^2.1.0","loader-utils":"^1.2.3","schema-utils":"^2.5.0"},"devDependencies":{"@commitlint/cli":"^8.2.0","@commitlint/config-conventional":"^8.2.0","@types/glob":"^7.1.1","@types/is-promise":"^2.1.0","@types/jest":"^24.0.22","@types/loader-utils":"^1.1.3","@types/node":"^12.12.7","@types/webpack":"^4.39.8","@types/webpack-merge":"^4.1.5","@typescript-eslint/eslint-plugin":"^2.6.1","@typescript-eslint/parser":"^2.6.1","coveralls":"^3.0.7","cross-env":"^6.0.3","eslint":"^6.6.0","eslint-config-prettier":"^6.5.0","eslint-plugin-import":"^2.18.2","eslint-plugin-prettier":"^3.1.1","husky":"^3.0.9","jest":"^24.9.0","lint-staged":"^9.4.2","prettier":"^1.19.1","raw-loader":"^3.1.0","ts-jest":"^24.1.0","typescript":"^3.7.2","webpack":"^4.41.2","webpack-merge":"^4.2.2"},"peerDependencies":{"webpack":"^3.0.0 || ^4.0.0"},"sideEffects":false,"gitHead":"d27041b8f3681a0c7f3c833e8988744ac7c7d5ec","_id":"style-resources-loader@1.3.2","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"shasum":"dee034e33e84060ded0b1980f866453e98589873","size":13874,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-1.3.2.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader_1.3.2_1573452536646_0.47006550485430343"},"_hasShrinkwrap":false,"publish_time":1573452536790,"_cnpm_publish_time":1573452536790},"1.3.1":{"name":"style-resources-loader","version":"1.3.1","description":"CSS processor resources loader for webpack","author":{"name":"Shi Yan","email":"yenshih95@gmail.com","url":"https://github.com/yenshih"},"license":"MIT","engines":{"node":">=7.6"},"main":"lib/index.js","scripts":{"clean":"rimraf lib coverage test/**/outputs","lint":"eslint . --ext .js,.jsx,.ts,.tsx","prettier":"prettier {src,test}/**/*.{js,jsx,ts,tsx} --write","test":"jest --detectOpenHandles","coverage":"npm test -- --coverage","posttest":"rimraf test/**/outputs","start":"tsc -w","build":"tsc -d","prepare":"npm run clean && npm run lint && npm run build && npm run coverage"},"keywords":["webpack","loader","style","css","sass","scss","less","stylus","inject","resource","variable","mixin"],"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"homepage":"https://github.com/yenshih/style-resources-loader","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"dependencies":{"glob":"^7.1.6","is-promise":"^2.1.0","loader-utils":"^1.2.3","schema-utils":"^2.5.0"},"devDependencies":{"@commitlint/cli":"^8.2.0","@commitlint/config-conventional":"^8.2.0","@types/glob":"^7.1.1","@types/is-promise":"^2.1.0","@types/jest":"^24.0.22","@types/loader-utils":"^1.1.3","@types/node":"^12.12.7","@types/webpack":"^4.39.8","@types/webpack-merge":"^4.1.5","@typescript-eslint/eslint-plugin":"^2.6.1","@typescript-eslint/parser":"^2.6.1","coveralls":"^3.0.7","cross-env":"^6.0.3","eslint":"^6.6.0","eslint-config-prettier":"^6.5.0","eslint-plugin-import":"^2.18.2","eslint-plugin-prettier":"^3.1.1","husky":"^3.0.9","jest":"^24.9.0","lint-staged":"^9.4.2","prettier":"^1.19.1","raw-loader":"^3.1.0","ts-jest":"^24.1.0","typescript":"^3.7.2","webpack":"^4.41.2","webpack-merge":"^4.2.2"},"peerDependencies":{"webpack":"^3.0.0 || ^4.0.0"},"sideEffects":false,"gitHead":"559e332502b11ba7788a2e6edaec2439291fec35","_id":"style-resources-loader@1.3.1","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"shasum":"c52ca2006267a8108e634e22244ef1eddc2da607","size":13805,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-1.3.1.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader_1.3.1_1573451692177_0.6975422143996788"},"_hasShrinkwrap":false,"publish_time":1573451692335,"_cnpm_publish_time":1573451692335},"1.3.0":{"name":"style-resources-loader","version":"1.3.0","description":"CSS processor resources loader for webpack","author":{"name":"Shi Yan","email":"yenshih95@gmail.com","url":"https://github.com/yenshih"},"license":"MIT","engines":{"node":">=7.6"},"main":"lib/index.js","scripts":{"clean":"rimraf lib coverage test/**/outputs","lint":"eslint . --ext .js,.jsx,.ts,.tsx","prettier":"prettier {src,test}/**/*.{js,jsx,ts,tsx} --write","test":"jest --detectOpenHandles","coverage":"npm test -- --coverage","posttest":"rimraf test/**/outputs","start":"tsc -w","build":"tsc -d","prepare":"npm run clean && npm run lint && npm run build && npm run coverage"},"keywords":["webpack","loader","style","css","sass","scss","less","stylus","inject","resource","variable","mixin"],"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"homepage":"https://github.com/yenshih/style-resources-loader","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"dependencies":{"glob":"^7.1.6","is-promise":"^2.1.0","loader-utils":"^1.2.3","schema-utils":"^2.5.0"},"devDependencies":{"@commitlint/cli":"^8.2.0","@commitlint/config-conventional":"^8.2.0","@types/glob":"^7.1.1","@types/is-promise":"^2.1.0","@types/jest":"^24.0.22","@types/loader-utils":"^1.1.3","@types/node":"^12.12.7","@types/webpack":"^4.39.8","@types/webpack-merge":"^4.1.5","@typescript-eslint/eslint-plugin":"^2.6.1","@typescript-eslint/parser":"^2.6.1","coveralls":"^3.0.7","cross-env":"^6.0.3","eslint":"^6.6.0","eslint-config-prettier":"^6.5.0","eslint-plugin-import":"^2.18.2","eslint-plugin-prettier":"^3.1.1","husky":"^3.0.9","jest":"^24.9.0","lint-staged":"^9.4.2","prettier":"^1.19.1","raw-loader":"^3.1.0","ts-jest":"^24.1.0","typescript":"^3.7.2","webpack":"^4.41.2","webpack-merge":"^4.2.2"},"peerDependencies":{"webpack":"^3.0.0 || ^4.0.0"},"sideEffects":false,"gitHead":"4157108fa8ff54136b402a90c6db95640d0153c3","_id":"style-resources-loader@1.3.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"shasum":"8fe40a9ff99401f2cf100023d9d391635b6841bb","size":13864,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-1.3.0.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader_1.3.0_1573440668636_0.43893248985326627"},"_hasShrinkwrap":false,"publish_time":1573440668758,"_cnpm_publish_time":1573440668758},"1.2.1":{"name":"style-resources-loader","version":"1.2.1","description":"CSS processor resources loader for webpack","author":{"name":"Shi Yan","email":"yenshih95@gmail.com","url":"https://github.com/yenshih"},"license":"MIT","engines":{"node":">=7.6"},"main":"lib/index.js","files":["lib","src","index.d.ts"],"scripts":{"clean":"rimraf lib coverage","lint":"eslint . --ext .js,.jsx,.ts,.tsx && tslint -p .","test":"jest --colors","coverage":"npm test -- --coverage","posttest":"rimraf test/**/outputs","start":"tsc --outDir lib -w","build":"tsc --outDir lib -d","prepare":"npm run clean && npm run lint && npm run build && npm run coverage"},"keywords":["webpack","loader","style","css","sass","scss","less","stylus","inject","resource","variable","mixin"],"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"homepage":"https://github.com/yenshih/style-resources-loader","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"dependencies":{"glob":"^7.1.2","is-callable":"^1.1.4","is-plain-object":"^2.0.4","is-promise":"^2.1.0","loader-utils":"^1.1.0"},"devDependencies":{"@types/glob":"^5.0.35","@types/is-callable":"^1.1.0","@types/is-promise":"^2.1.0","@types/jest":"^23.3.1","@types/loader-utils":"^1.1.3","@types/node":"^10.5.7","@types/webpack":"^4.4.9","@types/webpack-merge":"^4.1.3","coveralls":"^3.0.2","cross-env":"^5.2.0","eslint":"^5.3.0","eslint-plugin-import":"^2.13.0","husky":"^0.14.3","jest":"^23.4.2","lint-staged":"^7.2.0","raw-loader":"^0.5.1","ts-jest":"^23.1.3","tslint":"^5.11.0","tslint-config-airbnb":"^5.9.2","typescript":"^3.0.1","typescript-eslint-parser":"^18.0.0","webpack":"^4.16.5","webpack-merge":"^4.1.4"},"peerDependencies":{"webpack":"^3.0.0 || ^4.0.0"},"sideEffects":false,"gitHead":"6089ea29cb20477dde876f3241f6de5461f63ddf","_id":"style-resources-loader@1.2.1","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"dist":{"shasum":"7679d5dc2f27046b2fc2b83c1d5b6c1b8a9b820c","size":12038,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-1.2.1.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader_1.2.1_1534005258121_0.5479297216922105"},"_hasShrinkwrap":false,"publish_time":1534005258213,"_cnpm_publish_time":1534005258213},"1.2.0":{"name":"style-resources-loader","version":"1.2.0","description":"CSS processor resources loader for webpack","author":{"name":"Shi Yan","email":"yenshih95@gmail.com","url":"https://github.com/yenshih"},"license":"MIT","engines":{"node":">=7.6"},"main":"lib/index.js","files":["lib","src","index.d.ts"],"scripts":{"clean":"rimraf lib coverage","lint":"eslint . --ext .js,.jsx,.ts,.tsx && tslint -p .","test":"jest --colors","coverage":"npm test -- --coverage","posttest":"rimraf test/**/outputs","start":"tsc --outDir lib -w","build":"tsc --outDir lib -d","prepare":"npm run clean && npm run lint && npm run build && npm run coverage"},"keywords":["webpack","loader","style","css","sass","scss","less","stylus","inject","resource","variable","mixin"],"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"homepage":"https://github.com/yenshih/style-resources-loader","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"dependencies":{"glob":"^7.1.2","is-callable":"^1.1.4","is-plain-object":"^2.0.4","is-promise":"^2.1.0","loader-utils":"^1.1.0"},"devDependencies":{"@types/glob":"^5.0.35","@types/is-callable":"^1.1.0","@types/is-promise":"^2.1.0","@types/jest":"^23.3.1","@types/loader-utils":"^1.1.3","@types/node":"^10.5.7","@types/webpack":"^4.4.9","@types/webpack-merge":"^4.1.3","coveralls":"^3.0.2","cross-env":"^5.2.0","eslint":"^5.3.0","eslint-plugin-import":"^2.13.0","husky":"^0.14.3","jest":"^23.4.2","lint-staged":"^7.2.0","raw-loader":"^0.5.1","ts-jest":"^23.1.3","tslint":"^5.11.0","tslint-config-airbnb":"^5.9.2","typescript":"^3.0.1","typescript-eslint-parser":"^18.0.0","webpack":"^4.16.5","webpack-merge":"^4.1.4"},"peerDependencies":{"webpack":"^3.0.0 || ^4.0.0"},"sideEffects":false,"gitHead":"6333aa28e26d994907e88bd64bf536cedeca8fe7","_id":"style-resources-loader@1.2.0","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"dist":{"shasum":"fb28a579525c693eee8d032871c49d5a65518afe","size":11962,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-1.2.0.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader_1.2.0_1533980499029_0.5676493804997849"},"_hasShrinkwrap":false,"publish_time":1533980500147,"_cnpm_publish_time":1533980500147},"1.1.0":{"name":"style-resources-loader","version":"1.1.0","description":"CSS preprocessor resources loader for webpack","engines":{"node":">=7.6"},"main":"lib/index.js","files":["lib","src","index.d.ts"],"scripts":{"clean":"rimraf lib coverage","lint":"tslint -p .","test":"jest --colors","test:coverage":"npm test -- --coverage","posttest":"rimraf test/**/outputs","start":"tsc --outDir lib -w","build":"tsc --outDir lib -d","prepare":"npm run clean && npm run lint && npm run build && npm run test"},"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"keywords":["webpack","loader","style","sass","scss","less","stylus","inject","resource","variable","mixin"],"authors":["Shi Yan <yenshih95@gmail.com> (https://github.com/yenshih)"],"license":"MIT","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"npmName":"style-resources-loader","jest":{"transform":{".(ts|tsx)":"./node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"coveragePathIgnorePatterns":["node_modules","test","src"]},"dependencies":{"glob":"^7.1.2","loader-utils":"^1.1.0"},"devDependencies":{"@types/glob":"^5.0.35","@types/jest":"^22.1.3","@types/loader-utils":"^1.1.2","@types/node":"^9.4.6","@types/webpack":"^3.8.8","@types/webpack-merge":"^4.1.2","coveralls":"^3.0.0","cross-env":"^5.1.3","jest":"^22.4.2","raw-loader":"^0.5.1","ts-jest":"^22.4.0","tslint":"^5.9.1","tslint-config-airbnb":"^5.7.0","typescript":"^2.7.2","webpack":"^3.11.0","webpack-merge":"^4.1.2"},"peerDependencies":{"webpack":"^2.0.0 || >= 3.0.0-rc.0 || ^3.0.0"},"browserify":{"transform":["loose-envify"]},"gitHead":"f7aa3be362f2d5fbc6fef696a50c9f03e582be90","homepage":"https://github.com/yenshih/style-resources-loader#readme","_id":"style-resources-loader@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"dist":{"shasum":"492f4f6ab0052c207148fd808acbdd83e79a9231","size":10455,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-1.1.0.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader_1.1.0_1519807023971_0.7891933017676604"},"_hasShrinkwrap":false,"publish_time":1519807024028,"_cnpm_publish_time":1519807024028},"1.0.0":{"name":"style-resources-loader","version":"1.0.0","description":"CSS preprocessor resources loader for webpack","engines":{"node":">=7.6"},"main":"lib/index.js","files":["lib","src","index.d.ts"],"scripts":{"clean":"rimraf lib coverage","lint":"tslint -p .","test":"jest --colors","test:coverage":"npm test -- --coverage","posttest":"rimraf test/**/outputs","start":"tsc --outDir lib -w","build":"tsc --outDir lib -d","prepare":"npm run clean && npm run lint && npm run build && npm run test"},"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"keywords":["webpack","loader","style","sass","scss","less","stylus","inject","resource","variable","mixin"],"authors":["Shi Yan <yenshih95@gmail.com> (https://github.com/yenshih)"],"license":"MIT","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"npmName":"style-resources-loader","jest":{"transform":{".(ts|tsx)":"./node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"mapCoverage":true,"coveragePathIgnorePatterns":["node_modules","test","src"]},"dependencies":{"glob":"^7.1.2","loader-utils":"^1.1.0"},"devDependencies":{"@types/glob":"^5.0.33","@types/jest":"^21.1.8","@types/loader-utils":"^1.1.0","@types/node":"^8.0.54","@types/webpack":"^3.8.1","@types/webpack-merge":"^4.1.1","coveralls":"^3.0.0","cross-env":"^5.0.5","jest":"^21.2.1","raw-loader":"^0.5.1","ts-jest":"^21.2.4","tslint":"^5.7.0","tslint-config-airbnb":"^5.4.2","typescript":"^2.6.2","webpack":"^3.10.0","webpack-merge":"^4.1.1"},"peerDependencies":{"webpack":"^2.0.0 || >= 3.0.0-rc.0 || ^3.0.0"},"browserify":{"transform":["loose-envify"]},"gitHead":"95d787e6c494cb6d9186e55c1b5b1e5c8c82d622","homepage":"https://github.com/yenshih/style-resources-loader#readme","_id":"style-resources-loader@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"dist":{"shasum":"a2290ca7366e4d1f90c93d304a55194bfd2e8dc0","size":9887,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-1.0.0.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader-1.0.0.tgz_1512472012538_0.41004512761719525"},"directories":{},"publish_time":1512472012767,"_hasShrinkwrap":false,"_cnpm_publish_time":1512472012767},"0.6.0":{"name":"style-resources-loader","version":"0.6.0","description":"CSS preprocessor resources loader for webpack","engines":{"node":">=7.6"},"main":"lib/index.js","files":["lib","src","index.d.ts"],"scripts":{"clean":"rimraf lib coverage","lint":"tslint -p .","test":"jest --colors","test:coverage":"npm test -- --coverage","posttest":"rimraf test/**/outputs","start":"tsc --outDir lib -w","build":"tsc --outDir lib -d","prepare":"npm run clean && npm run lint && npm run build && npm run test"},"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"keywords":["webpack","loader","style","sass","scss","less","stylus","inject","resource","variable","mixin"],"authors":["Shi Yan <yenshih95@gmail.com> (https://github.com/yenshih)"],"license":"MIT","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"npmName":"style-resources-loader","jest":{"transform":{".(ts|tsx)":"./node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"mapCoverage":true,"coveragePathIgnorePatterns":["node_modules","test","src"]},"dependencies":{"glob":"^7.1.2","loader-utils":"^1.1.0"},"devDependencies":{"@types/glob":"^5.0.33","@types/jest":"^21.1.8","@types/loader-utils":"^1.1.0","@types/node":"^8.0.54","@types/webpack":"^3.8.1","@types/webpack-merge":"^4.1.1","coveralls":"^3.0.0","cross-env":"^5.0.5","jest":"^21.2.1","raw-loader":"^0.5.1","ts-jest":"^21.2.4","tslint":"^5.7.0","tslint-config-airbnb":"^5.4.2","typescript":"^2.6.2","webpack":"^3.9.1","webpack-merge":"^4.1.1"},"peerDependencies":{"webpack":"^2.0.0 || >= 3.0.0-rc.0 || ^3.0.0"},"browserify":{"transform":["loose-envify"]},"gitHead":"6d63d9731f5815edc256e002dbcb08c8f9571bdb","homepage":"https://github.com/yenshih/style-resources-loader#readme","_id":"style-resources-loader@0.6.0","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"dist":{"shasum":"9bca93dc5d0a0695e8ee6fd1253fff2c9d5b4225","size":9893,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-0.6.0.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader-0.6.0.tgz_1512406151661_0.05567985028028488"},"directories":{},"publish_time":1512406151747,"_cnpm_publish_time":1512406151747,"_hasShrinkwrap":false},"0.5.3":{"name":"style-resources-loader","version":"0.5.3","description":"CSS preprocessor resources loader for webpack","engines":{"node":">=7.6"},"main":"lib/index.js","files":["lib","src","index.d.ts"],"scripts":{"clean":"rimraf lib coverage","lint":"tslint -p .","test":"jest --colors","test:coverage":"npm test -- --coverage","posttest":"rimraf test/**/outputs","start":"tsc --outDir lib -w","build":"tsc --outDir lib -d","prepare":"npm run clean && npm run lint && npm run build && npm run test"},"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"keywords":["webpack","loader","style","sass","scss","less","stylus","inject","resource","variable","mixin"],"authors":["Shi Yan <yenshih95@gmail.com> (https://github.com/yenshih)"],"license":"MIT","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"npmName":"style-resources-loader","jest":{"transform":{".(ts|tsx)":"./node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"mapCoverage":true,"coveragePathIgnorePatterns":["node_modules","test","src"]},"dependencies":{"glob":"^7.1.2","loader-utils":"^1.1.0"},"devDependencies":{"@types/glob":"^5.0.33","@types/jest":"^21.1.8","@types/loader-utils":"^1.1.0","@types/node":"^8.0.54","@types/webpack":"^3.8.1","@types/webpack-merge":"^4.1.1","coveralls":"^3.0.0","cross-env":"^5.0.5","jest":"^21.2.1","raw-loader":"^0.5.1","ts-jest":"^21.2.4","tslint":"^5.7.0","tslint-config-airbnb":"^5.4.2","typescript":"^2.6.2","webpack":"^3.9.1","webpack-merge":"^4.1.1"},"peerDependencies":{"webpack":"^2.0.0 || >= 3.0.0-rc.0 || ^3.0.0"},"browserify":{"transform":["loose-envify"]},"gitHead":"d3c2dfa2cd2cc8d53ab778901336ae63b2cae0b1","homepage":"https://github.com/yenshih/style-resources-loader#readme","_id":"style-resources-loader@0.5.3","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"dist":{"shasum":"01199860bd238e537adca46e81f5f4bd991a359c","size":9726,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-0.5.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-0.5.3.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader-0.5.3.tgz_1512324445515_0.7616148632951081"},"directories":{},"publish_time":1512324445711,"_hasShrinkwrap":false,"_cnpm_publish_time":1512324445711},"0.5.2":{"name":"style-resources-loader","version":"0.5.2","description":"CSS preprocessor resources loader for webpack","main":"lib/index.js","files":["lib","src","index.d.ts"],"scripts":{"clean":"rimraf lib coverage","lint":"tslint -p .","test":"jest --colors","test:coverage":"npm test -- --coverage","posttest":"rimraf test/**/outputs","start":"tsc --outDir lib -w","build":"tsc --outDir lib -d","prepare":"npm run clean && npm run lint && npm run build && npm run test"},"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"keywords":["webpack","loader","style","sass","scss","less","stylus","inject","resource","variable","mixin"],"authors":["Shi Yan <yenshih95@gmail.com> (https://github.com/yenshih)"],"license":"MIT","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"npmName":"style-resources-loader","jest":{"transform":{".(ts|tsx)":"./node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"mapCoverage":true,"coveragePathIgnorePatterns":["node_modules","test","src"]},"dependencies":{"glob":"^7.1.2","loader-utils":"^1.1.0"},"devDependencies":{"@types/glob":"^5.0.33","@types/jest":"^21.1.8","@types/loader-utils":"^1.1.0","@types/node":"^8.0.54","@types/webpack":"^3.8.1","@types/webpack-merge":"^4.1.1","coveralls":"^3.0.0","cross-env":"^5.0.5","jest":"^21.2.1","raw-loader":"^0.5.1","ts-jest":"^21.2.4","tslint":"^5.7.0","tslint-config-airbnb":"^5.4.2","typescript":"^2.6.2","webpack":"^3.9.1","webpack-merge":"^4.1.1"},"peerDependencies":{"webpack":"^2.0.0 || >= 3.0.0-rc.0 || ^3.0.0"},"browserify":{"transform":["loose-envify"]},"gitHead":"7f8e9f0094a9b8eb6ac1535161ebdba96c65df8e","homepage":"https://github.com/yenshih/style-resources-loader#readme","_id":"style-resources-loader@0.5.2","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"dist":{"shasum":"12150de0d7ae3a7df9c90c32fc1c9d14c1eddfc4","size":11376,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-0.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-0.5.2.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader-0.5.2.tgz_1512322819552_0.11952736903913319"},"directories":{},"publish_time":1512322819690,"_hasShrinkwrap":false,"_cnpm_publish_time":1512322819690},"0.5.1":{"name":"style-resources-loader","version":"0.5.1","description":"CSS preprocessor resources loader for webpack","main":"lib/index.js","files":["lib","src","index.d.ts"],"scripts":{"clean":"rimraf lib coverage","lint":"tslint -p .","test":"jest --colors","test:coverage":"npm test -- --coverage","posttest":"rimraf test/**/outputs","start":"npm test -- --watch","build":"tsc --outDir lib -d","prepare":"npm run clean && npm run lint && npm run build && npm run test"},"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"keywords":["sass","scss","less","resources","webpack","loader"],"authors":["Shi Yan <yenshih95@gmail.com> (https://github.com/yenshih)"],"license":"MIT","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"npmName":"style-resources-loader","jest":{"transform":{".(ts|tsx)":"./node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"mapCoverage":true,"coveragePathIgnorePatterns":["node_modules","test","utils"]},"dependencies":{"glob":"^7.1.2","loader-utils":"^1.1.0","webpack":"^3.8.1"},"devDependencies":{"@types/glob":"^5.0.33","@types/jest":"^21.1.6","@types/loader-utils":"^1.1.0","@types/node":"^8.0.53","@types/webpack":"^3.8.1","@types/webpack-merge":"^4.1.1","coveralls":"^3.0.0","cross-env":"^5.0.5","jest":"^21.2.1","raw-loader":"^0.5.1","ts-jest":"^21.2.3","tslint":"^5.7.0","tslint-config-airbnb":"^5.4.2","typescript":"^2.5.3","webpack-merge":"^4.1.1"},"peerDependencies":{"webpack":"^2.0.0 || >= 3.0.0-rc.0 || ^3.0.0"},"browserify":{"transform":["loose-envify"]},"gitHead":"d03282db0ec46c9f17d2dad18e1133000c96b81a","homepage":"https://github.com/yenshih/style-resources-loader#readme","_id":"style-resources-loader@0.5.1","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"dist":{"shasum":"3f1dd8e15b0b313d44e0556c8922b7d3cb1d8ef9","size":10835,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-0.5.1.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader-0.5.1.tgz_1511937964263_0.37890782579779625"},"directories":{},"publish_time":1511937964330,"_cnpm_publish_time":1511937964330,"_hasShrinkwrap":false},"0.5.0":{"name":"style-resources-loader","version":"0.5.0","description":"CSS preprocessor resources loader for webpack","main":"lib/index.js","files":["lib","src","index.d.ts"],"scripts":{"clean":"rimraf lib coverage","lint":"tslint -p .","test":"jest --colors","test:coverage":"npm test -- --coverage","posttest":"rimraf test/**/outputs","start":"npm test -- --watch","build":"tsc --outDir lib -d","prepare":"npm run clean && npm run lint && npm run build && npm run test"},"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"keywords":["sass","scss","less","resources","webpack","loader"],"authors":["Shi Yan <yenshih95@gmail.com> (https://github.com/yenshih)"],"license":"MIT","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"npmName":"style-resources-loader","jest":{"transform":{".(ts|tsx)":"./node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"mapCoverage":true,"coveragePathIgnorePatterns":["node_modules","test","utils"]},"dependencies":{"glob":"^7.1.2","loader-utils":"^1.1.0","webpack":"^3.8.1"},"devDependencies":{"@types/glob":"^5.0.33","@types/jest":"^21.1.6","@types/loader-utils":"^1.1.0","@types/node":"^8.0.53","@types/webpack":"^3.8.1","@types/webpack-merge":"^4.1.1","coveralls":"^3.0.0","cross-env":"^5.0.5","jest":"^21.2.1","raw-loader":"^0.5.1","ts-jest":"^21.2.3","tslint":"^5.7.0","tslint-config-airbnb":"^5.4.2","typescript":"^2.5.3","webpack-merge":"^4.1.1"},"peerDependencies":{"webpack":"^2.0.0 || >= 3.0.0-rc.0 || ^3.0.0"},"browserify":{"transform":["loose-envify"]},"gitHead":"abf814fefa1c8e555f096dac45f6509c949d68a4","homepage":"https://github.com/yenshih/style-resources-loader#readme","_id":"style-resources-loader@0.5.0","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"dist":{"shasum":"e624ba1901851846566f8345fbe98edd84a9967c","size":10777,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-0.5.0.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader-0.5.0.tgz_1511889936928_0.14852807903662324"},"directories":{},"publish_time":1511889937127,"_cnpm_publish_time":1511889937127,"_hasShrinkwrap":false},"0.4.0":{"name":"style-resources-loader","version":"0.4.0","description":"CSS preprocessor resources loader for webpack","main":"lib/index.js","files":["lib","src","index.d.ts"],"scripts":{"clean":"rimraf lib coverage","lint":"tslint -p .","test":"jest --colors","test:coverage":"npm test -- --coverage","posttest":"rimraf test/**/outputs","start":"npm test -- --watch","build":"tsc --outDir lib -d","prepare":"npm run clean && npm run lint && npm run build && npm run test"},"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"keywords":["sass","scss","less","resources","webpack","loader"],"authors":["Shi Yan <yenshih95@gmail.com> (https://github.com/yenshih)"],"license":"MIT","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"npmName":"style-resources-loader","jest":{"transform":{".(ts|tsx)":"./node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"coveragePathIgnorePatterns":["node_modules","test"]},"dependencies":{"glob":"^7.1.2","loader-utils":"^1.1.0","webpack":"^3.8.1"},"devDependencies":{"@types/glob":"^5.0.33","@types/jest":"^21.1.6","@types/loader-utils":"^1.1.0","@types/node":"^8.0.53","@types/webpack":"^3.8.1","@types/webpack-merge":"^4.1.1","coveralls":"^3.0.0","cross-env":"^5.0.5","jest":"^21.2.1","raw-loader":"^0.5.1","ts-jest":"^21.2.3","tslint":"^5.7.0","tslint-config-airbnb":"^5.4.2","typescript":"^2.5.3","webpack-merge":"^4.1.1"},"peerDependencies":{"webpack":"^2.0.0 || >= 3.0.0-rc.0 || ^3.0.0"},"browserify":{"transform":["loose-envify"]},"gitHead":"1c7a92f88b98c646b790e1e15bce5e58e5d5273e","homepage":"https://github.com/yenshih/style-resources-loader#readme","_id":"style-resources-loader@0.4.0","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"dist":{"shasum":"0887563a41de50ed2de3389d19212d1ff263ab1b","size":10436,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-0.4.0.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader-0.4.0.tgz_1511784331101_0.17333950148895383"},"directories":{},"publish_time":1511784331273,"_hasShrinkwrap":false,"_cnpm_publish_time":1511784331273},"0.3.0":{"name":"style-resources-loader","version":"0.3.0","description":"CSS preprocessor resources loader for webpack","main":"lib/index.js","files":["lib","src","index.d.ts"],"scripts":{"clean":"rimraf lib coverage","lint":"tslint -p .","test":"jest --colors","test:coverage":"npm test -- --coverage","start":"npm test -- --watch","build":"tsc --outDir lib -d","prepare":"npm run clean && npm run lint && npm run test && npm run build"},"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"keywords":["sass","scss","less","resources","webpack","loader"],"authors":["Shi Yan <yenshih95@gmail.com> (https://github.com/yenshih)"],"license":"MIT","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"npmName":"style-resources-loader","jest":{"transform":{".(ts|tsx)":"./node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"]},"devDependencies":{"@types/glob":"^5.0.33","@types/jest":"^21.1.6","@types/loader-utils":"^1.1.0","@types/node":"^8.0.53","@types/webpack":"^3.8.1","coveralls":"^3.0.0","cross-env":"^5.0.5","jest":"^21.2.1","ts-jest":"^21.2.3","tslint":"^5.7.0","tslint-config-airbnb":"^5.4.2","typescript":"^2.5.3"},"browserify":{"transform":["loose-envify"]},"dependencies":{"glob":"^7.1.2","loader-utils":"^1.1.0","webpack":"^3.8.1"},"gitHead":"2c94da9cba9c43775150fc673259bbc350132ab5","homepage":"https://github.com/yenshih/style-resources-loader#readme","_id":"style-resources-loader@0.3.0","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"dist":{"shasum":"e57aca9baa11bad8e3ab28f415eaf565d6a113bc","size":5327,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-0.3.0.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader-0.3.0.tgz_1511110377079_0.979568503331393"},"directories":{},"publish_time":1511110377186,"_cnpm_publish_time":1511110377186,"_hasShrinkwrap":false},"0.2.2":{"name":"style-resources-loader","version":"0.2.2","description":"CSS preprocessor resources loader for webpack","main":"lib/index.js","files":["lib","src","index.d.ts"],"scripts":{"clean":"rimraf lib coverage","lint":"tslint -p .","test":"jest --colors","test:coverage":"npm test -- --coverage","start":"npm test -- --watch","build":"tsc --outDir lib -d","prepare":"npm run clean && npm run lint && npm run test && npm run build"},"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"keywords":["sass","scss","less","resources","webpack","loader"],"authors":["Shi Yan <yenshih95@gmail.com> (https://github.com/yenshih)"],"license":"MIT","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"npmName":"style-resources-loader","jest":{"transform":{".(ts|tsx)":"./node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"]},"devDependencies":{"@types/glob":"^5.0.33","@types/jest":"^21.1.2","@types/loader-utils":"^1.1.0","@types/node":"^8.0.32","@types/webpack":"^3.0.14","coveralls":"^3.0.0","cross-env":"^5.0.5","jest":"^21.2.1","ts-jest":"^21.1.0","tslint":"^5.7.0","tslint-config-airbnb":"^5.3.0","typescript":"^2.5.3"},"browserify":{"transform":["loose-envify"]},"dependencies":{"glob":"^7.1.2","loader-utils":"^1.1.0","webpack":"^3.8.1"},"gitHead":"9d36c65a37fcdf355d06480059860f405159a46e","homepage":"https://github.com/yenshih/style-resources-loader#readme","_id":"style-resources-loader@0.2.2","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"dist":{"shasum":"8ff7823abe3de60c069b6c6fcf5930a72d8cf711","size":5927,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-0.2.2.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader-0.2.2.tgz_1509639522384_0.7687950609251857"},"directories":{},"publish_time":1509639522449,"_hasShrinkwrap":false,"_cnpm_publish_time":1509639522449},"0.2.1":{"name":"style-resources-loader","version":"0.2.1","description":"CSS preprocessor resources loader for webpack","main":"lib/index.js","files":["lib","src","index.d.ts"],"scripts":{"clean":"rimraf lib coverage","lint":"tslint -p .","test":"jest --colors","test:coverage":"npm test -- --coverage","start":"npm test -- --watch","build":"tsc --outDir lib -d","prepare":"npm run clean && npm run lint && npm run test && npm run build"},"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"keywords":["sass","scss","less","resources","webpack","loader"],"authors":["Shi Yan <yenshih95@gmail.com> (https://github.com/yenshih)"],"license":"MIT","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"npmName":"style-resources-loader","jest":{"transform":{".(ts|tsx)":"./node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"]},"devDependencies":{"@types/glob":"^5.0.33","@types/jest":"^21.1.2","@types/loader-utils":"^1.1.0","@types/node":"^8.0.32","@types/webpack":"^3.0.14","coveralls":"^3.0.0","cross-env":"^5.0.5","jest":"^21.2.1","ts-jest":"^21.1.0","tslint":"^5.7.0","tslint-config-airbnb":"^5.3.0","typescript":"^2.5.3"},"browserify":{"transform":["loose-envify"]},"dependencies":{"glob":"^7.1.2","loader-utils":"^1.1.0","webpack":"^3.8.1"},"gitHead":"95927b5e4976f217fd9ad923da7924b49570de9f","homepage":"https://github.com/yenshih/style-resources-loader#readme","_id":"style-resources-loader@0.2.1","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"dist":{"shasum":"7e88d4d54db89d279a503e344455cec61ec7a218","size":5926,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-0.2.1.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader-0.2.1.tgz_1509639070044_0.39878282928839326"},"directories":{},"publish_time":1509639070135,"_hasShrinkwrap":false,"_cnpm_publish_time":1509639070135},"0.2.0":{"name":"style-resources-loader","version":"0.2.0","description":"CSS preprocessor resources loader for webpack","main":"lib/index.js","files":["lib","src","index.d.ts"],"scripts":{"clean":"rimraf lib coverage","lint":"tslint -p .","test":"jest --colors","test:coverage":"npm test -- --coverage","start":"npm test -- --watch","build":"tsc --outDir lib -d","prepare":"npm run clean && npm run lint && npm run test && npm run build"},"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"keywords":["sass","scss","less","resources","webpack","loader"],"authors":["Shi Yan <yenshih95@gmail.com> (https://github.com/yenshih)"],"license":"MIT","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"npmName":"style-resources-loader","jest":{"transform":{".(ts|tsx)":"./node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"]},"devDependencies":{"@types/glob":"^5.0.33","@types/jest":"^21.1.2","@types/loader-utils":"^1.1.0","@types/node":"^8.0.32","@types/webpack":"^3.0.14","coveralls":"^3.0.0","cross-env":"^5.0.5","jest":"^21.2.1","ts-jest":"^21.1.0","tslint":"^5.7.0","tslint-config-airbnb":"^5.3.0","typescript":"^2.5.3"},"browserify":{"transform":["loose-envify"]},"dependencies":{"glob":"^7.1.2","loader-utils":"^1.1.0","webpack":"^3.8.1"},"gitHead":"717f4a6a574f4e31e754b93120f6f02b7ae4e7b0","homepage":"https://github.com/yenshih/style-resources-loader#readme","_id":"style-resources-loader@0.2.0","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"dist":{"shasum":"40fcdb49cdc8d827b4776432f4bdb9acd795c252","size":5199,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-0.2.0.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader-0.2.0.tgz_1509628007724_0.8330817844253033"},"directories":{},"publish_time":1509628009169,"_hasShrinkwrap":false,"_cnpm_publish_time":1509628009169},"0.1.0":{"name":"style-resources-loader","version":"0.1.0","description":"CSS preprocessor resources loader for webpack","main":"lib/index.js","files":["lib","src","index.d.ts"],"scripts":{"clean":"rimraf lib coverage","lint":"tslint -p .","test":"jest --colors","test:coverage":"npm test -- --coverage","start":"npm test -- --watch","build":"tsc -m commonjs --outDir lib -d"},"repository":{"type":"git","url":"git+https://github.com/yenshih/style-resources-loader.git"},"keywords":["sass","scss","less","resources","webpack","loader"],"authors":["Shi Yan <yenshih95@gmail.com> (https://github.com/yenshih)"],"license":"MIT","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"npmName":"style-resources-loader","jest":{"transform":{".(ts|tsx)":"./node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"]},"devDependencies":{"@types/glob":"^5.0.33","@types/jest":"^21.1.2","@types/loader-utils":"^1.1.0","@types/node":"^8.0.32","@types/webpack":"^3.0.14","coveralls":"^3.0.0","cross-env":"^5.0.5","jest":"^21.2.1","ts-jest":"^21.1.0","tslint":"^5.7.0","tslint-config-airbnb":"^5.3.0","typescript":"^2.5.3"},"browserify":{"transform":["loose-envify"]},"dependencies":{"glob":"^7.1.2","loader-utils":"^1.1.0","webpack":"^3.8.1"},"gitHead":"559c688d0864ed65eec78d6eca0dd2130bf28584","homepage":"https://github.com/yenshih/style-resources-loader#readme","_id":"style-resources-loader@0.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"yenshih","email":"yenshih95@gmail.com"},"dist":{"shasum":"46b5b8602e93e51584c61de83f1d50cf290f9f02","size":4945,"noattachment":false,"key":"/style-resources-loader/-/style-resources-loader-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/style-resources-loader/download/style-resources-loader-0.1.0.tgz"},"maintainers":[{"name":"yenshih","email":"yenshih95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-resources-loader-0.1.0.tgz_1509612761992_0.9902287188451737"},"directories":{},"publish_time":1509612762082,"_hasShrinkwrap":false,"_cnpm_publish_time":1509612762082}},"readme":"[![npm][npm]][npm-url]\n[![node][node]][node-url]\n[![downloads][downloads]][downloads-url]\n[![build][build]][build-url]\n[![coverage][coverage]][coverage-url]\n[![996.icu][996.icu]][996.icu-url]\n\n<div align=\"center\">\n  <a href=\"https://github.com/webpack/webpack\">\n    <img\n        width=\"200\"\n        height=\"200\"\n        src=\"https://webpack.js.org/assets/icon-square-big.svg\"\n    >\n  </a>\n  <h1>Style Resources Loader</h1>\n  <p>CSS processor resources loader for webpack.</p>\n</div>\n\n\n<h2 align=\"center\">Install</h2>\n\n```bash\nnpm i style-resources-loader -D\n```\n\n<h2 align=\"center\">Usage</h2>\n\nThis loader is a CSS processor resources loader for webpack, which injects your style resources (e.g. `variables, mixins`) into multiple imported `css, sass, scss, less, stylus` modules.\n\nIt's mainly used to\n - share your `variables, mixins, functions` across all style files, so you don't need to `@import` them manually.\n - override `variables` in style files provided by other libraries (e.g. [ant-design](https://github.com/ant-design/ant-design)) and customize your own theme.\n\n### Usage with Vue CLI\n\nSee [automatic imports](https://cli.vuejs.org/guide/css.html#automatic-imports) for more details.\n\n<h2 align=\"center\">Examples</h2>\n\nPrepends `variables` and `mixins` to all `scss` files with default resources injector.\n\n**webpack.config.js**\n``` js\nmodule.exports = {\n    // ...\n    module: {\n        rules: [{\n            test: /\\.scss$/,\n            use: ['style-loader', 'css-loader', 'sass-loader', {\n                loader: 'style-resources-loader',\n                options: {\n                    patterns: [\n                        './path/from/context/to/scss/variables/*.scss',\n                        './path/from/context/to/scss/mixins/*.scss',\n                    ]\n                }\n            }]\n        }]\n    },\n    // ...\n}\n```\n\nAppends `variables` to all `less` files and overrides original `less variables`.\n\n**webpack.config.js**\n```js\nmodule.exports = {\n    // ...\n    module: {\n        rules: [{\n            test: /\\.less$/,\n            use: ['style-loader', 'css-loader', 'less-loader', {\n                loader: 'style-resources-loader',\n                options: {\n                    patterns: path.resolve(__dirname, 'path/to/less/variables/*.less'),\n                    injector: 'append'\n                }\n            }]\n        }]\n    },\n    // ...\n}\n```\n\nPrepends `variables` and `mixins` to all `stylus` files with customized resources injector.\n\n**webpack.config.js**\n``` js\nmodule.exports = {\n    // ...\n    module: {\n        rules: [{\n            test: /\\.styl$/,\n            use: ['style-loader', 'css-loader', 'stylus-loader', {\n                loader: 'style-resources-loader',\n                options: {\n                    patterns: [\n                        path.resolve(__dirname, 'path/to/stylus/variables/*.styl'),\n                        path.resolve(__dirname, 'path/to/stylus/mixins/*.styl')\n                    ],\n                    injector: (source, resources) => {\n                        const combineAll = type => resources\n                            .filter(({ file }) => file.includes(type))\n                            .map(({ content }) => content)\n                            .join('');\n\n                        return combineAll('variables') + combineAll('mixins') + source;\n                    }\n                }\n            }]\n        }]\n    },\n    // ...\n}\n```\n\n<h2 align=\"center\">Options</h2>\n\n|Name|Type|Default|Description|\n|:--:|:--:|:-----:|:----------|\n|**[`patterns`](#patterns)**|`string \\| string[]`|`/`|Path to the resources you would like to inject|\n|**[`injector`](#injector)**|`Injector \\| 'prepend' \\| 'append'`|`'prepend'`|Controls the resources injection precisely|\n|**[`globOptions`](#globoptions)**|`GlobOptions`|`{}`|An options that can be passed to `glob(...)`|\n|**[`resolveUrl`](#resolveurl)**|`boolean`|`true`|Enable/Disable `@import` url to be resolved|\n\nSee [the type definition file](https://github.com/yenshih/style-resources-loader/blob/master/src/types.ts) for more details.\n\n### `patterns`\n\nA string or an array of string, which represents the path to the resources you would like to inject. If the path is relative, it would relative to [webpack context](https://webpack.js.org/configuration/entry-context/).\n\nIt supports [globbing](https://github.com/isaacs/node-glob). You could include many files using a file mask.\n\nFor example, `'./styles/*/*.less'` would include all `less` files from `variables` and `mixins` directories and ignore `reset.less` in such following structure.\n\n```\n./src  <-- webpack context\n  /styles\n    /variables\n      |-- fonts.less\n      |-- colors.less\n    /mixins\n      |-- size.less\n    |-- reset.less\n```\n\nOnly supports `.css` `.sass` `.scss` `.less` `.styl` as resources file extensions.\n\n### `injector`\n\nAn optional function which controls the resources injection precisely. It also supports `'prepend'` and `'append'` for convenience, which means the loader will prepend or append all resources to source files, respectively.\n\nIt defaults to `'prepend'`, which implements as an injector function internally.\n\nFurthermore, an injector function should match the following type signature:\n\n```ts\ntype Injector = (\n    this: LoaderContext,\n    source: string,\n    resources: StyleResource[],\n) => string | Promise<string>\n```\n\nIt receives two parameters:\n\n|Name|Type|Description|\n|:--:|:--:|:----------|\n|**`source`**|`string`|Content of the source file|\n|**[`resources`](#resources)**|`StyleResource[]`|Resource descriptors|\n\nIt is called with `this` context pointing to the loader context.\n\n#### `resources`\n\nAn array of resource descriptor, each contains `file` and `content` properties:\n\n|Name|Type|Description|\n|:--:|:--:|:----------|\n|**`file`**|`string`|Absolute path to the resource|\n|**`content`**|`string`|Content of the resource file|\n\nIt can be asynchronous. You could use `async / await` syntax in your own injector function or just return a promise.\n\n### `globOptions`\n\nOptions that can be passed to `glob(...)`. See [node-glob options](https://github.com/isaacs/node-glob#options) for more details.\n\n### `resolveUrl`\n\nA boolean which defaults to `true`. It represents whether the relative path in `@import` or `@require` statements should be resolved.\n\nIf you were to use `@import` or `@require` statements in style resource files, you should make sure that the URL is relative to that resource file, rather than the source file.\n\nYou could disable this feature by setting `resolveUrl` to `false`.\n\n<h2 align=\"center\">License</h2>\n\n[MIT](http://www.opensource.org/licenses/mit-license.php)\n\n[npm]: https://img.shields.io/npm/v/style-resources-loader.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/style-resources-loader\n[node]: https://img.shields.io/node/v/style-resources-loader.svg\n[node-url]: https://nodejs.org\n[downloads]: https://img.shields.io/npm/dm/style-resources-loader.svg?style=flat-square\n[downloads-url]: https://www.npmjs.com/package/style-resources-loader\n[build]: https://img.shields.io/travis/yenshih/style-resources-loader/master.svg?style=flat-square\n[build-url]: https://travis-ci.org/yenshih/style-resources-loader\n[coverage]: https://img.shields.io/coveralls/yenshih/style-resources-loader/master.svg?style=flat\n[coverage-url]: https://coveralls.io/github/yenshih/style-resources-loader?branch=master\n[996.icu]: https://img.shields.io/badge/link-996.icu-%23FF4D5B.svg?style=flat-square\n[996.icu-url]: https://996.icu/#/en_US\n","_attachments":{},"homepage":"https://github.com/yenshih/style-resources-loader","bugs":{"url":"https://github.com/yenshih/style-resources-loader/issues"},"license":"MIT"}