{"_id":"exports-loader","_rev":"3181806","name":"exports-loader","description":"exports loader module for webpack","dist-tags":{"latest":"4.0.0"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"jhnns","email":"mail@johannesewald.de"},{"name":"sokra","email":""}],"time":{"modified":"2023-12-06T08:43:08.000Z","created":"2012-11-11T10:37:07.355Z","4.0.0":"2022-05-17T14:10:06.432Z","3.1.0":"2021-10-21T14:31:09.907Z","3.0.0":"2021-05-17T12:48:36.853Z","2.0.0":"2021-01-11T16:40:00.043Z","1.1.1":"2020-10-09T16:45:00.914Z","1.1.0":"2020-06-24T15:36:07.212Z","1.0.1":"2020-06-17T15:28:55.828Z","1.0.0":"2020-06-10T17:57:13.792Z","0.7.0":"2018-02-05T10:16:03.804Z","0.6.4":"2017-02-25T05:15:01.161Z","0.6.3":"2016-02-10T12:19:18.201Z","0.6.2":"2014-01-23T08:02:13.744Z","0.6.1":"2013-05-08T13:06:24.662Z","0.6.0":"2013-03-26T15:51:12.251Z","0.5.0":"2013-02-01T07:46:01.661Z","0.1.0":"2012-11-11T10:37:07.355Z"},"users":{},"author":{"name":"Tobias Koppers @sokra"},"repository":{"type":"git","url":"git+https://github.com/webpack-contrib/exports-loader.git"},"versions":{"4.0.0":{"name":"exports-loader","version":"4.0.0","description":"exports loader module for webpack","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/exports-loader.git"},"author":{"name":"Tobias Koppers @sokra"},"homepage":"https://github.com/webpack-contrib/exports-loader","bugs":{"url":"https://github.com/webpack-contrib/exports-loader/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"main":"dist/cjs.js","engines":{"node":">= 14.15.0"},"scripts":{"start":"npm run build -- -w","clean":"del-cli dist","prebuild":"npm run clean","build":"cross-env NODE_ENV=production babel src -d dist --copy-files","commitlint":"commitlint --from=master","security":"npm audit --production","lint:prettier":"prettier --list-different .","lint:js":"eslint --cache .","lint":"npm-run-all -l -p \"lint:**\"","test:only":"cross-env NODE_ENV=test jest","test:watch":"npm run test:only -- --watch","test:coverage":"npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage","pretest":"npm run lint","test":"npm run test:coverage","prepare":"husky install && npm run build","release":"standard-version"},"peerDependencies":{"webpack":"^5.0.0"},"dependencies":{"source-map":"^0.6.1"},"devDependencies":{"@babel/cli":"^7.17.10","@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@commitlint/cli":"^17.0.0","@commitlint/config-conventional":"^17.0.0","@webpack-contrib/eslint-config-webpack":"^3.0.0","babel-jest":"^28.1.0","babel-loader":"^8.2.5","cross-env":"^7.0.3","del":"^6.1.0","del-cli":"^4.0.1","eslint":"^8.15.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.26.0","husky":"^8.0.1","jest":"^28.1.0","lint-staged":"^12.4.1","memfs":"^3.4.1","npm-run-all":"^4.1.5","prettier":"^2.6.2","standard-version":"^9.5.0","webpack":"^5.72.1"},"keywords":["webpack"],"gitHead":"3c874f8474d4600e0c0670fd64b39f14f9c13673","_id":"exports-loader@4.0.0","_nodeVersion":"18.1.0","_npmVersion":"8.8.0","dist":{"shasum":"af34fe80a18f12fb0f42f435edd7df0fe9db49bb","size":6567,"noattachment":false,"key":"/exports-loader/-/exports-loader-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exports-loader/download/exports-loader-4.0.0.tgz"},"_npmUser":{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},"directories":{},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"jhnns","email":"mail@johannesewald.de"},{"name":"sokra","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exports-loader_4.0.0_1652796606209_0.6885476399332204"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-17T15:55:14.443Z","publish_time":1652796606432,"_cnpm_publish_time":1652796606432},"3.1.0":{"name":"exports-loader","version":"3.1.0","description":"exports loader module for webpack","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/exports-loader.git"},"author":{"name":"Tobias Koppers @sokra"},"homepage":"https://github.com/webpack-contrib/exports-loader","bugs":{"url":"https://github.com/webpack-contrib/exports-loader/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"main":"dist/cjs.js","engines":{"node":">= 12.13.0"},"scripts":{"start":"npm run build -- -w","clean":"del-cli dist","prebuild":"npm run clean","build":"cross-env NODE_ENV=production babel src -d dist --copy-files","commitlint":"commitlint --from=master","security":"npm audit --production","lint:prettier":"prettier --list-different .","lint:js":"eslint --cache .","lint":"npm-run-all -l -p \"lint:**\"","test:only":"cross-env NODE_ENV=test jest","test:watch":"npm run test:only -- --watch","test:coverage":"npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage","pretest":"npm run lint","test":"npm run test:coverage","prepare":"husky install && npm run build","release":"standard-version"},"peerDependencies":{"webpack":"^5.0.0"},"dependencies":{"source-map":"^0.6.1"},"devDependencies":{"@babel/cli":"^7.14.8","@babel/core":"^7.15.0","@babel/preset-env":"^7.15.0","@commitlint/cli":"^13.1.0","@commitlint/config-conventional":"^13.1.0","@webpack-contrib/eslint-config-webpack":"^3.0.0","babel-jest":"^27.0.6","babel-loader":"^8.2.2","cross-env":"^7.0.3","del":"^6.0.0","del-cli":"^4.0.1","eslint":"^8.0.1","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.0","husky":"^7.0.1","jest":"^27.0.6","lint-staged":"^11.1.2","memfs":"^3.2.2","npm-run-all":"^4.1.5","prettier":"^2.3.2","standard-version":"^9.3.1","webpack":"^5.50.0"},"keywords":["webpack"],"gitHead":"98bc04d0691e82088fe7823b05957bdbdb3b414c","_id":"exports-loader@3.1.0","_nodeVersion":"12.22.7","_npmVersion":"7.24.0","dist":{"shasum":"a68040b902da8ef24f9f6db716be904ac2455284","size":6554,"noattachment":false,"key":"/exports-loader/-/exports-loader-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exports-loader/download/exports-loader-3.1.0.tgz"},"_npmUser":{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},"directories":{},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"jhnns","email":"mail@johannesewald.de"},{"name":"sokra","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exports-loader_3.1.0_1634826669734_0.577008930677003"},"_hasShrinkwrap":false,"publish_time":1634826669907,"_cnpm_publish_time":1634826669907,"_cnpmcore_publish_time":"2021-12-16T15:22:29.782Z"},"3.0.0":{"name":"exports-loader","version":"3.0.0","description":"exports loader module for webpack","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/exports-loader.git"},"author":{"name":"Tobias Koppers @sokra"},"homepage":"https://github.com/webpack-contrib/exports-loader","bugs":{"url":"https://github.com/webpack-contrib/exports-loader/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"main":"dist/cjs.js","engines":{"node":">= 12.13.0"},"scripts":{"start":"npm run build -- -w","clean":"del-cli dist","prebuild":"npm run clean","build":"cross-env NODE_ENV=production babel src -d dist --copy-files","commitlint":"commitlint --from=master","security":"npm audit","lint:prettier":"prettier --list-different .","lint:js":"eslint --cache .","lint":"npm-run-all -l -p \"lint:**\"","test:only":"cross-env NODE_ENV=test jest","test:watch":"npm run test:only -- --watch","test:coverage":"npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage","pretest":"npm run lint","test":"npm run test:coverage","prepare":"husky install && npm run build","release":"standard-version"},"peerDependencies":{"webpack":"^5.0.0"},"dependencies":{"source-map":"^0.6.1"},"devDependencies":{"@babel/cli":"^7.13.16","@babel/core":"^7.14.2","@babel/preset-env":"^7.14.2","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@webpack-contrib/eslint-config-webpack":"^3.0.0","babel-jest":"^26.6.3","babel-loader":"^8.2.2","cross-env":"^7.0.3","del":"^6.0.0","del-cli":"^3.0.1","eslint":"^7.26.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.2","husky":"^6.0.0","jest":"^26.6.3","lint-staged":"^11.0.0","memfs":"^3.2.0","npm-run-all":"^4.1.5","prettier":"^2.3.0","standard-version":"^9.3.0","webpack":"^5.37.0"},"keywords":["webpack"],"gitHead":"ed470bf59f99962a1afb9aeeeddb03e7ffbe2abf","_id":"exports-loader@3.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.12.1","dist":{"shasum":"dcc4596a034b3fa002a53f77bc8f04c9667166c2","size":6504,"noattachment":false,"key":"/exports-loader/-/exports-loader-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exports-loader/download/exports-loader-3.0.0.tgz"},"_npmUser":{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},"directories":{},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"jhnns","email":"mail@johannesewald.de"},{"name":"sokra","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exports-loader_3.0.0_1621255716730_0.7369282492126186"},"_hasShrinkwrap":false,"publish_time":1621255716853,"_cnpm_publish_time":1621255716853,"_cnpmcore_publish_time":"2021-12-16T15:22:30.438Z"},"2.0.0":{"name":"exports-loader","version":"2.0.0","description":"exports loader module for webpack","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/exports-loader.git"},"author":{"name":"Tobias Koppers @sokra"},"homepage":"https://github.com/webpack-contrib/exports-loader","bugs":{"url":"https://github.com/webpack-contrib/exports-loader/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"main":"dist/cjs.js","engines":{"node":">= 10.13.0"},"scripts":{"start":"npm run build -- -w","clean":"del-cli dist","prebuild":"npm run clean","build":"cross-env NODE_ENV=production babel src -d dist --copy-files","commitlint":"commitlint --from=master","security":"npm audit","lint:prettier":"prettier --list-different .","lint:js":"eslint --cache .","lint":"npm-run-all -l -p \"lint:**\"","test:only":"cross-env NODE_ENV=test jest","test:watch":"npm run test:only -- --watch","test:coverage":"npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage","pretest":"npm run lint","test":"npm run test:coverage","prepare":"npm run build","release":"standard-version","defaults":"webpack-defaults"},"peerDependencies":{"webpack":"^5.0.0"},"dependencies":{"source-map":"^0.6.1"},"devDependencies":{"@babel/cli":"^7.12.10","@babel/core":"^7.12.10","@babel/preset-env":"^7.12.11","@commitlint/cli":"^11.0.0","@commitlint/config-conventional":"^11.0.0","@webpack-contrib/defaults":"^6.3.0","@webpack-contrib/eslint-config-webpack":"^3.0.0","babel-jest":"^26.6.3","babel-loader":"^8.2.2","cross-env":"^7.0.3","del":"^6.0.0","del-cli":"^3.0.1","eslint":"^7.17.0","eslint-config-prettier":"^7.1.0","eslint-plugin-import":"^2.22.1","husky":"^4.3.7","jest":"^26.6.3","lint-staged":"^10.5.3","memfs":"^3.2.0","npm-run-all":"^4.1.5","prettier":"^2.2.1","standard-version":"^9.1.0","webpack":"^5.12.3"},"keywords":["webpack"],"gitHead":"9639b0498b00b8a106c2734cc0d6f4dc9dd7fc23","_id":"exports-loader@2.0.0","_nodeVersion":"12.20.1","_npmVersion":"6.14.11","dist":{"shasum":"ca7861b86726997bb4e55001888d2af940935979","size":7544,"noattachment":false,"key":"/exports-loader/-/exports-loader-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exports-loader/download/exports-loader-2.0.0.tgz"},"_npmUser":{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},"directories":{},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"jhnns","email":"mail@johannesewald.de"},{"name":"sokra","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exports-loader_2.0.0_1610383199941_0.08691097247233315"},"_hasShrinkwrap":false,"publish_time":1610383200043,"_cnpm_publish_time":1610383200043,"_cnpmcore_publish_time":"2021-12-16T15:22:30.695Z"},"1.1.1":{"name":"exports-loader","version":"1.1.1","description":"exports loader module for webpack","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/exports-loader.git"},"author":{"name":"Tobias Koppers @sokra"},"homepage":"https://github.com/webpack-contrib/exports-loader","bugs":{"url":"https://github.com/webpack-contrib/exports-loader/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"main":"dist/cjs.js","engines":{"node":">= 10.13.0"},"scripts":{"start":"npm run build -- -w","clean":"del-cli dist","prebuild":"npm run clean","build":"cross-env NODE_ENV=production babel src -d dist --copy-files","commitlint":"commitlint --from=master","security":"npm audit","lint:prettier":"prettier --list-different .","lint:js":"eslint --cache .","lint":"npm-run-all -l -p \"lint:**\"","test:only":"cross-env NODE_ENV=test jest","test:watch":"npm run test:only -- --watch","test:coverage":"npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage","pretest":"npm run lint","test":"npm run test:coverage","prepare":"npm run build","release":"standard-version","defaults":"webpack-defaults"},"peerDependencies":{"webpack":"^4.0.0 || ^5.0.0"},"dependencies":{"schema-utils":"^3.0.0","loader-utils":"^2.0.0","source-map":"^0.6.1"},"devDependencies":{"@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/preset-env":"^7.11.5","@commitlint/cli":"^11.0.0","@commitlint/config-conventional":"^11.0.0","@webpack-contrib/defaults":"^6.3.0","@webpack-contrib/eslint-config-webpack":"^3.0.0","babel-jest":"^26.5.2","babel-loader":"^8.1.0","cross-env":"^7.0.2","del":"^6.0.0","del-cli":"^3.0.1","eslint":"^7.10.0","eslint-config-prettier":"^6.12.0","eslint-plugin-import":"^2.22.1","husky":"^4.3.0","jest":"^26.5.2","lint-staged":"^10.4.0","memfs":"^3.2.0","npm-run-all":"^4.1.5","prettier":"^2.1.2","standard-version":"^9.0.0","webpack":"^4.44.2"},"keywords":["webpack"],"gitHead":"6972c4e23a8cd122d401c4c9a080ffe7e4e50721","_id":"exports-loader@1.1.1","_nodeVersion":"10.15.2","_npmVersion":"6.14.8","dist":{"shasum":"88c9a6877ee6a5519d7c41a016bdd99148421e69","size":7420,"noattachment":false,"key":"/exports-loader/-/exports-loader-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/exports-loader/download/exports-loader-1.1.1.tgz"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"jhnns","email":"mail@johannesewald.de"},{"name":"sokra","email":""}],"_npmUser":{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exports-loader_1.1.1_1602261900806_0.05018053276811174"},"_hasShrinkwrap":false,"publish_time":1602261900914,"_cnpm_publish_time":1602261900914,"_cnpmcore_publish_time":"2021-12-16T15:22:30.923Z"},"1.1.0":{"name":"exports-loader","version":"1.1.0","description":"exports loader module for webpack","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/exports-loader.git"},"author":{"name":"Tobias Koppers @sokra"},"homepage":"https://github.com/webpack-contrib/exports-loader","bugs":{"url":"https://github.com/webpack-contrib/exports-loader/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"main":"dist/cjs.js","engines":{"node":">= 10.13.0"},"scripts":{"start":"npm run build -- -w","clean":"del-cli dist","prebuild":"npm run clean","build":"cross-env NODE_ENV=production babel src -d dist --copy-files","commitlint":"commitlint --from=master","security":"npm audit","lint:prettier":"prettier --list-different .","lint:js":"eslint --cache .","lint":"npm-run-all -l -p \"lint:**\"","test:only":"cross-env NODE_ENV=test jest","test:watch":"npm run test:only -- --watch","test:coverage":"npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage","pretest":"npm run lint","test":"npm run test:coverage","prepare":"npm run build","release":"standard-version","defaults":"webpack-defaults"},"peerDependencies":{"webpack":"^4.0.0 || ^5.0.0"},"dependencies":{"schema-utils":"^2.7.0","loader-utils":"^2.0.0","source-map":"^0.6.1"},"devDependencies":{"@babel/cli":"^7.10.3","@babel/core":"^7.10.3","@babel/preset-env":"^7.10.3","@commitlint/cli":"^9.0.1","@commitlint/config-conventional":"^9.0.1","@webpack-contrib/defaults":"^6.3.0","@webpack-contrib/eslint-config-webpack":"^3.0.0","babel-jest":"^26.1.0","babel-loader":"^8.1.0","cross-env":"^7.0.2","del":"^5.1.0","del-cli":"^3.0.1","eslint":"^7.3.1","eslint-config-prettier":"^6.11.0","eslint-plugin-import":"^2.21.2","husky":"^4.2.5","jest":"^26.1.0","lint-staged":"^10.2.11","memfs":"^3.2.0","npm-run-all":"^4.1.5","prettier":"^2.0.5","standard-version":"^8.0.0","webpack":"^4.43.0"},"keywords":["webpack"],"gitHead":"7829c1be73203949929bc60287254061f61d5387","_id":"exports-loader@1.1.0","_nodeVersion":"10.15.2","_npmVersion":"6.14.5","dist":{"shasum":"26a16706e4cf533145de24c1419baf33b624fb5c","size":7420,"noattachment":false,"key":"/exports-loader/-/exports-loader-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exports-loader/download/exports-loader-1.1.0.tgz"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"jhnns","email":"mail@johannesewald.de"},{"name":"sokra","email":""}],"_npmUser":{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exports-loader_1.1.0_1593012967081_0.14556188853185592"},"_hasShrinkwrap":false,"publish_time":1593012967212,"_cnpm_publish_time":1593012967212,"_cnpmcore_publish_time":"2021-12-16T15:22:31.184Z"},"1.0.1":{"name":"exports-loader","version":"1.0.1","description":"exports loader module for webpack","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/exports-loader.git"},"author":{"name":"Tobias Koppers @sokra"},"homepage":"https://github.com/webpack-contrib/exports-loader","bugs":{"url":"https://github.com/webpack-contrib/exports-loader/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"main":"dist/cjs.js","engines":{"node":">= 10.13.0"},"scripts":{"start":"npm run build -- -w","clean":"del-cli dist","prebuild":"npm run clean","build":"cross-env NODE_ENV=production babel src -d dist --copy-files","commitlint":"commitlint --from=master","security":"npm audit","lint:prettier":"prettier --list-different .","lint:js":"eslint --cache .","lint":"npm-run-all -l -p \"lint:**\"","test:only":"cross-env NODE_ENV=test jest","test:watch":"npm run test:only -- --watch","test:coverage":"npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage","pretest":"npm run lint","test":"npm run test:coverage","prepare":"npm run build","release":"standard-version","defaults":"webpack-defaults"},"peerDependencies":{"webpack":"^4.0.0 || ^5.0.0"},"dependencies":{"schema-utils":"^2.7.0","loader-utils":"^2.0.0","source-map":"^0.6.1"},"devDependencies":{"@babel/cli":"^7.10.1","@babel/core":"^7.10.2","@babel/preset-env":"^7.10.2","@commitlint/cli":"^8.3.5","@commitlint/config-conventional":"^8.3.4","@webpack-contrib/defaults":"^6.3.0","@webpack-contrib/eslint-config-webpack":"^3.0.0","babel-jest":"^26.0.1","babel-loader":"^8.1.0","cross-env":"^7.0.2","del":"^5.1.0","del-cli":"^3.0.1","eslint":"^7.2.0","eslint-config-prettier":"^6.11.0","eslint-plugin-import":"^2.21.2","husky":"^4.2.5","jest":"^26.0.1","lint-staged":"^10.2.9","memfs":"^3.2.0","npm-run-all":"^4.1.5","prettier":"^2.0.5","standard-version":"^8.0.0","webpack":"^4.43.0"},"keywords":["webpack"],"gitHead":"d6f361f6f205cda71e55164231370e532cd3f7f1","_id":"exports-loader@1.0.1","_nodeVersion":"10.15.2","_npmVersion":"6.14.5","dist":{"shasum":"eae06f2c770694a0cbe74ef3bb1025f7b24383db","size":7055,"noattachment":false,"key":"/exports-loader/-/exports-loader-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/exports-loader/download/exports-loader-1.0.1.tgz"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"jhnns","email":"mail@johannesewald.de"},{"name":"sokra","email":""}],"_npmUser":{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exports-loader_1.0.1_1592407735676_0.08085627002999218"},"_hasShrinkwrap":false,"publish_time":1592407735828,"_cnpm_publish_time":1592407735828,"_cnpmcore_publish_time":"2021-12-16T15:22:31.424Z"},"1.0.0":{"name":"exports-loader","version":"1.0.0","description":"exports loader module for webpack","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/exports-loader.git"},"author":{"name":"Tobias Koppers @sokra"},"homepage":"https://github.com/webpack-contrib/exports-loader","bugs":{"url":"https://github.com/webpack-contrib/exports-loader/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"main":"dist/cjs.js","engines":{"node":">= 10.13.0"},"scripts":{"start":"npm run build -- -w","clean":"del-cli dist","prebuild":"npm run clean","build":"cross-env NODE_ENV=production babel src -d dist --copy-files","commitlint":"commitlint --from=master","security":"npm audit","lint:prettier":"prettier --list-different .","lint:js":"eslint --cache .","lint":"npm-run-all -l -p \"lint:**\"","test:only":"cross-env NODE_ENV=test jest","test:watch":"npm run test:only -- --watch","test:coverage":"npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage","pretest":"npm run lint","test":"npm run test:coverage","prepare":"npm run build","release":"standard-version","defaults":"webpack-defaults"},"peerDependencies":{"webpack":"^4.0.0 || ^5.0.0"},"dependencies":{"schema-utils":"^2.7.0","loader-utils":"^2.0.0","source-map":"^0.6.1"},"devDependencies":{"@babel/cli":"^7.10.1","@babel/core":"^7.10.2","@babel/preset-env":"^7.10.2","@commitlint/cli":"^8.3.5","@commitlint/config-conventional":"^8.3.4","@webpack-contrib/defaults":"^6.3.0","@webpack-contrib/eslint-config-webpack":"^3.0.0","babel-jest":"^26.0.1","babel-loader":"^8.1.0","cross-env":"^7.0.2","del":"^5.1.0","del-cli":"^3.0.1","eslint":"^7.2.0","eslint-config-prettier":"^6.11.0","eslint-plugin-import":"^2.21.2","husky":"^4.2.5","jest":"^26.0.1","lint-staged":"^10.2.9","memfs":"^3.2.0","npm-run-all":"^4.1.5","prettier":"^2.0.5","standard-version":"^8.0.0","webpack":"^4.43.0"},"keywords":["webpack"],"gitHead":"8dece9c5f29394728955ae210463c76bcdb04ee6","_id":"exports-loader@1.0.0","_nodeVersion":"10.15.2","_npmVersion":"6.14.5","dist":{"shasum":"a9ac38a986d852723881b041333761ef1faa2f7e","size":6542,"noattachment":false,"key":"/exports-loader/-/exports-loader-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exports-loader/download/exports-loader-1.0.0.tgz"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"jhnns","email":"mail@johannesewald.de"},{"name":"sokra","email":""}],"_npmUser":{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exports-loader_1.0.0_1591811833664_0.01930490700966736"},"_hasShrinkwrap":false,"publish_time":1591811833792,"_cnpm_publish_time":1591811833792,"_cnpmcore_publish_time":"2021-12-16T15:22:31.633Z"},"0.7.0":{"name":"exports-loader","version":"0.7.0","author":{"name":"Tobias Koppers @sokra"},"description":"exports loader module for webpack","license":"MIT","main":"index.js","files":["index.js"],"engines":{"node":">= 4"},"scripts":{"release":"standard-version"},"dependencies":{"loader-utils":"^1.1.0","source-map":"0.5.0"},"devDependencies":{"standard-version":"^4.0.0"},"repository":{"type":"git","url":"git+https://github.com/webpack-contrib/exports-loader.git"},"bugs":{"url":"https://github.com/webpack-contrib/exports-loader/issues"},"homepage":"https://webpack.js.org/loaders/exports-loader","gitHead":"8444ee22409262ce30094173419b10b847c19dcd","_id":"exports-loader@0.7.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"michael-ciniawsky","email":"michael.ciniawsky@gmail.com"},"dist":{"shasum":"84881c784dea6036b8e1cd1dac3da9b6409e21a5","size":2775,"noattachment":false,"key":"/exports-loader/-/exports-loader-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exports-loader/download/exports-loader-0.7.0.tgz"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"jhnns","email":"mail@johannesewald.de"},{"name":"sokra","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exports-loader-0.7.0.tgz_1517825762905_0.48313707183115184"},"directories":{},"publish_time":1517825763804,"_hasShrinkwrap":false,"_cnpm_publish_time":1517825763804,"_cnpmcore_publish_time":"2021-12-16T15:22:32.045Z"},"0.6.4":{"name":"exports-loader","version":"0.6.4","author":{"name":"Tobias Koppers @sokra"},"description":"exports loader module for webpack","dependencies":{"loader-utils":"^1.0.2","source-map":"0.5.x"},"repository":{"type":"git","url":"git+ssh://git@github.com/webpack/exports-loader.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"gitHead":"ae5764b4f8c70249f65c0ed66a6652506424c687","bugs":{"url":"https://github.com/webpack/exports-loader/issues"},"homepage":"https://github.com/webpack/exports-loader#readme","_id":"exports-loader@0.6.4","scripts":{},"_shasum":"d70fc6121975b35fc12830cf52754be2740fc886","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"d3viant0ne","email":"wiens.joshua@gmail.com"},"dist":{"shasum":"d70fc6121975b35fc12830cf52754be2740fc886","size":2435,"noattachment":false,"key":"/exports-loader/-/exports-loader-0.6.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/exports-loader/download/exports-loader-0.6.4.tgz"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"jhnns","email":"mail@johannesewald.de"},{"name":"sokra","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/exports-loader-0.6.4.tgz_1487999700521_0.7834951209370047"},"directories":{},"publish_time":1487999701161,"_hasShrinkwrap":false,"_cnpm_publish_time":1487999701161,"_cnpmcore_publish_time":"2021-12-16T15:22:32.429Z"},"0.6.3":{"name":"exports-loader","version":"0.6.3","author":{"name":"Tobias Koppers @sokra"},"description":"exports loader module for webpack","dependencies":{"loader-utils":"0.2.x","source-map":"0.1.x"},"repository":{"type":"git","url":"git+ssh://git@github.com/webpack/exports-loader.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"gitHead":"35184000279c00e105a3506aff164bfd81f8a476","bugs":{"url":"https://github.com/webpack/exports-loader/issues"},"homepage":"https://github.com/webpack/exports-loader#readme","_id":"exports-loader@0.6.3","scripts":{},"_shasum":"57dc78917f709b96f247fa91e69b554c855013c8","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"peerigon","email":"developers@peerigon.com"},"dist":{"shasum":"57dc78917f709b96f247fa91e69b554c855013c8","size":5859,"noattachment":false,"key":"/exports-loader/-/exports-loader-0.6.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/exports-loader/download/exports-loader-0.6.3.tgz"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"jhnns","email":"mail@johannesewald.de"},{"name":"sokra","email":""}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/exports-loader-0.6.3.tgz_1455106755202_0.32490258174948394"},"directories":{},"publish_time":1455106758201,"_hasShrinkwrap":false,"_cnpm_publish_time":1455106758201,"_cnpmcore_publish_time":"2021-12-16T15:22:32.702Z"},"0.6.2":{"name":"exports-loader","version":"0.6.2","author":{"name":"Tobias Koppers @sokra"},"description":"exports loader module for webpack","dependencies":{"loader-utils":"0.2.x","source-map":"0.1.x"},"repository":{"type":"git","url":"git@github.com:webpack/exports-loader.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/webpack/exports-loader/issues"},"homepage":"https://github.com/webpack/exports-loader","_id":"exports-loader@0.6.2","dist":{"shasum":"0a1028838d912ae903cc9610707b78963150dab8","size":1102,"noattachment":false,"key":"/exports-loader/-/exports-loader-0.6.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/exports-loader/download/exports-loader-0.6.2.tgz"},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"jhnns","email":"mail@johannesewald.de"},{"name":"sokra","email":""}],"directories":{},"publish_time":1390464133744,"_hasShrinkwrap":false,"_cnpm_publish_time":1390464133744,"_cnpmcore_publish_time":"2021-12-16T15:22:33.899Z"},"0.6.1":{"name":"exports-loader","version":"0.6.1","author":{"name":"Tobias Koppers @sokra"},"description":"exports loader module for webpack","dependencies":{"loader-utils":"0.2.x","source-map":"0.1.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"_id":"exports-loader@0.6.1","dist":{"shasum":"34a23f37512f29c102f3c95ce7e9bcc993df3e65","size":1059,"noattachment":false,"key":"/exports-loader/-/exports-loader-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/exports-loader/download/exports-loader-0.6.1.tgz"},"_npmVersion":"1.1.61","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"jhnns","email":"mail@johannesewald.de"},{"name":"sokra","email":""}],"directories":{},"publish_time":1368018384662,"_hasShrinkwrap":false,"_cnpm_publish_time":1368018384662,"_cnpmcore_publish_time":"2021-12-16T15:22:34.111Z"},"0.6.0":{"name":"exports-loader","version":"0.6.0","author":{"name":"Tobias Koppers @sokra"},"description":"exports loader module for webpack","dependencies":{"loader-utils":"0.2.x","source-map":"https://github.com/sokra/source-map/archive/master.tar.gz"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"readmeFilename":"README.md","_id":"exports-loader@0.6.0","dist":{"shasum":"9e6b860a9345f0a0ee306b6cc4e778188ce18e40","size":1100,"noattachment":false,"key":"/exports-loader/-/exports-loader-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exports-loader/download/exports-loader-0.6.0.tgz"},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"jhnns","email":"mail@johannesewald.de"},{"name":"sokra","email":""}],"directories":{},"publish_time":1364313072251,"_hasShrinkwrap":false,"_cnpm_publish_time":1364313072251,"_cnpmcore_publish_time":"2021-12-16T15:22:34.357Z"},"0.5.0":{"name":"exports-loader","version":"0.5.0","author":{"name":"Tobias Koppers @sokra"},"description":"exports loader module for webpack","dependencies":{"loader-utils":"0.2.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"_id":"exports-loader@0.5.0","dist":{"shasum":"ee4d4a9a2a2c6afe986729afe937acf2c3707a4d","size":882,"noattachment":false,"key":"/exports-loader/-/exports-loader-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exports-loader/download/exports-loader-0.5.0.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"jhnns","email":"mail@johannesewald.de"},{"name":"sokra","email":""}],"directories":{},"publish_time":1359704761661,"_hasShrinkwrap":false,"_cnpm_publish_time":1359704761661,"_cnpmcore_publish_time":"2021-12-16T15:22:34.546Z"},"0.1.0":{"name":"exports-loader","version":"0.1.0","author":{"name":"Tobias Koppers @sokra"},"description":"exports loader module for webpack","dependencies":{"loader-utils":"0.1.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"license":"MIT","_id":"exports-loader@0.1.0","dist":{"shasum":"02e8ee8ccf5c18277342b34587ea4a3d2d27d923","size":887,"noattachment":false,"key":"/exports-loader/-/exports-loader-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exports-loader/download/exports-loader-0.1.0.tgz"},"_npmVersion":"1.1.63","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"jhnns","email":"mail@johannesewald.de"},{"name":"sokra","email":""}],"directories":{},"publish_time":1352630227355,"_hasShrinkwrap":false,"_cnpm_publish_time":1352630227355,"_cnpmcore_publish_time":"2021-12-16T15:22:34.740Z"}},"readme":"<div align=\"center\">\n  <a href=\"https://github.com/webpack/webpack\">\n    <img width=\"200\" height=\"200\" src=\"https://webpack.js.org/assets/icon-square-big.svg\">\n  </a>\n</div>\n\n[![npm][npm]][npm-url]\n[![node][node]][node-url]\n[![deps][deps]][deps-url]\n[![tests][tests]][tests-url]\n[![coverage][cover]][cover-url]\n[![chat][chat]][chat-url]\n[![size][size]][size-url]\n\n# exports-loader\n\nAllow to setup exports `module.exports`/`export` for source files.\n\nUseful when a source file does not contain exports or something does not export.\n\nFor further hints on compatibility issues, check out [Shimming](https://webpack.js.org/guides/shimming/) of the official docs.\n\n> ⚠ By default loader generate ES module named syntax.\n>\n> ⚠ Be careful, existing exports (`export`/`module.exports`/`exports`) in the original code and exporting new values can cause a failure.\n\n## Getting Started\n\nTo begin, you'll need to install `exports-loader`:\n\n```console\nnpm install exports-loader --save-dev\n```\n\nor\n\n```console\nyarn add -D exports-loader\n```\n\nor\n\n```console\npnpm add -D exports-loader\n```\n\n### Inline\n\nThe `|` or `%20` (space) allow to separate the `syntax`, `name` and `alias` of export.\nThe documentation and syntax examples can be read [here](#syntax).\n\n> ⚠ `%20` is space in a query string, because you can't use spaces in URLs\n\nThen add the loader to the desired `import` statement or `require` calls. For example:\n\n```js\nimport { myFunction } from \"exports-loader?exports=myFunction!./file.js\";\n// Adds the following code to the file's source:\n//\n// ...\n// Code\n// ...\n//\n// export { myFunction }\n\nmyFunction(\"Hello world\");\n```\n\n```js\nimport {\n  myVariable,\n  myFunction,\n} from \"exports-loader?exports=myVariable,myFunction!./file.js\";\n// Adds the following code to the file's source:\n//\n// ...\n// Code\n// ...\n//\n// export { myVariable, myFunction };\n\nconst newVariable = myVariable + \"!!!\";\n\nconsole.log(newVariable);\n\nmyFunction(\"Hello world\");\n```\n\n```js\nconst {\n  myFunction,\n} = require(\"exports-loader?type=commonjs&exports=myFunction!./file.js\");\n// Adds the following code to the file's source:\n//\n// ...\n// Code\n// ...\n//\n// module.exports = { myFunction }\n\nmyFunction(\"Hello world\");\n```\n\n```js\n// Alternative syntax:\n// import myFunction from 'exports-loader?exports=default%20myFunction!./file.js';\nimport myFunction from \"exports-loader?exports=default|myFunction!./file.js\";\n// `%20` is space in a query string, equivalently `default myFunction`\n// Adds the following code to the file's source:\n//\n// ...\n// Code\n// ...\n//\n// exports default myFunction;\n\nmyFunction(\"Hello world\");\n```\n\n```js\nconst myFunction = require(\"exports-loader?type=commonjs&exports=single|myFunction!./file.js\");\n// `|` is separator in a query string, equivalently `single|myFunction`\n// Adds the following code to the file's source:\n//\n// ...\n// Code\n// ...\n//\n// module.exports = myFunction;\n\nmyFunction(\"Hello world\");\n```\n\n```js\nimport { myFunctionAlias } from \"exports-loader?exports=named|myFunction|myFunctionAlias!./file.js\";\n// `|` is separator in a query string, equivalently `named|myFunction|myFunctionAlias`\n// Adds the following code to the file's source:\n//\n// ...\n// Code\n// ...\n//\n// exports { myFunction as myFunctionAlias };\n\nmyFunctionAlias(\"Hello world\");\n```\n\nDescription of string values can be found in the documentation below.\n\n### Using Configuration\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        // You can use `regexp`\n        // test: /vendor\\.js/$\n        test: require.resolve(\"./path/to/vendor.js\"),\n        loader: \"exports-loader\",\n        options: {\n          exports: \"myFunction\",\n        },\n      },\n    ],\n  },\n};\n```\n\nAnd run `webpack` via your preferred method.\n\n## Options\n\n|           Name            |                   Type                    |   Default   | Description                 |\n| :-----------------------: | :---------------------------------------: | :---------: | :-------------------------- |\n|    **[`type`](#type)**    |                `{String}`                 |  `module`   | Format of generated exports |\n| **[`exports`](#exports)** | `{String\\|Object\\|Array<String\\|Object>}` | `undefined` | List of exports             |\n\n### `type`\n\nType: `String`\nDefault: `module`\n\nFormat of generated exports.\n\nPossible values - `commonjs` (CommonJS module syntax) and `module` (ES module syntax).\n\n#### `commonjs`\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: require.resolve(\"./path/to/vendor.js\"),\n        loader: \"exports-loader\",\n        options: {\n          type: \"commonjs\",\n          exports: \"Foo\",\n        },\n      },\n    ],\n  },\n};\n```\n\nGenerate output:\n\n```js\n// ...\n// Code\n// ...\n\nmodule.exports = { Foo };\n```\n\n#### `module`\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: require.resolve(\"./path/to/vendor.js\"),\n        loader: \"exports-loader\",\n        options: {\n          type: \"module\",\n          exports: \"Foo\",\n        },\n      },\n    ],\n  },\n};\n```\n\nGenerate output:\n\n```js\n// ...\n// Code\n// ...\n\nexport { Foo };\n```\n\n### `exports`\n\nType: `String|Array`\nDefault: `undefined`\n\nList of exports.\n\n#### `String`\n\nAllows to use a string to describe an export.\n\n##### `Syntax`\n\nThe `|` or `%20` (space) allow to separate the `syntax`, `name` and `alias` of export.\n\nString syntax - `[[syntax] [name] [alias]]` or `[[syntax]|[name]|[alias]]`, where:\n\n- `[syntax]` (**may be omitted**) -\n\n  - if `type` is `module`- can be `default` and `named`,\n  - if `type` is `commonjs`- can be `single` and `multiple`\n\n- `[name]` - name of an exported value (**required**)\n- `[alias]` - alias of an exported value (**may be omitted**)\n\nExamples:\n\n- `[Foo]` - generates `export { Foo };`.\n- `[default Foo]` - generates `export default Foo;`.\n- `[named Foo]` - generates `export { Foo };`.\n- `[named Foo FooA]` - generates `export { Foo as FooA };`.\n- `[single Foo]` - generates `module.exports = Foo;`.\n- `[multiple Foo]` - generates `module.exports = { Foo };`.\n- `[multiple Foo FooA]` - generates `module.exports = { 'FooA': Foo };`.\n- `[named [name] [name]Alias]` - generates ES module named exports and exports a value equal to the filename under other name., for `single.js` it will be `single` and `singleAlias`, generates `export { single as singleAlias };`.\n\n> ⚠ You need to set `type: \"commonjs\"` to use `single` or `multiple` syntaxes.\n\n> ⚠ Aliases can't be used together with `default` or `single` syntaxes.\n\n##### Examples\n\n###### ES Module Default Export\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: require.resolve(\"./path/to/vendor.js\"),\n        loader: \"exports-loader\",\n        options: {\n          exports: \"default Foo\",\n        },\n      },\n    ],\n  },\n};\n```\n\nGenerate output:\n\n```js\n// ...\n// Code\n// ...\n\nexport default Foo;\n```\n\n###### ES Module Named Exports\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: require.resolve(\"./path/to/vendor.js\"),\n        loader: \"exports-loader\",\n        options: {\n          exports: \"named Foo FooA\",\n        },\n      },\n    ],\n  },\n};\n```\n\nGenerate output:\n\n```js\n// ...\n// Code\n// ...\n\nexport { Foo as FooA };\n```\n\n###### CommonJS Single Export\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: require.resolve(\"./path/to/vendor.js\"),\n        loader: \"exports-loader\",\n        options: {\n          type: \"commonjs\",\n          exports: \"single Foo\",\n        },\n      },\n    ],\n  },\n};\n```\n\nGenerate output:\n\n```js\n// ...\n// Code\n// ...\n\nmodule.exports = Foo;\n```\n\n###### CommonJS Multiple Exports\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: require.resolve(\"./path/to/vendor.js\"),\n        loader: \"exports-loader\",\n        options: {\n          type: \"commonjs\",\n          exports: \"multiple Foo FooA\",\n        },\n      },\n    ],\n  },\n};\n```\n\nGenerate output:\n\n```js\n// ...\n// Code\n// ...\n\nmodule.exports = { FooA: Foo };\n```\n\n#### `Object`\n\nAllows to use an object to describe an export.\n\nProperties:\n\n- `syntax` - can be `default` or `named` for the `module` type (`ES modules` module format), and `single` or `multiple` for the `commonjs` type (`CommonJS` module format) (**may be omitted**)\n- `name` - name of an exported value (**required**)\n- `alias` - alias of an exported value (**may be omitted**)\n\n##### Examples\n\n###### ES Module Default Export\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: require.resolve(\"./path/to/vendor.js\"),\n        loader: \"exports-loader\",\n        options: {\n          exports: {\n            syntax: \"default\",\n            name: \"Foo\",\n          },\n        },\n      },\n    ],\n  },\n};\n```\n\nGenerate output:\n\n```js\n// ...\n// Code\n// ...\n\nexport default Foo;\n```\n\n###### ES Module Named Exports\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: require.resolve(\"./path/to/vendor.js\"),\n        loader: \"exports-loader\",\n        options: {\n          exports: {\n            syntax: \"named\",\n            name: \"Foo\",\n            alias: \"FooA\",\n          },\n        },\n      },\n    ],\n  },\n};\n```\n\nGenerate output:\n\n```js\n// ...\n// Code\n// ...\n\nexport { Foo as FooA };\n```\n\n###### CommonJS Single Export\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: require.resolve(\"./path/to/vendor.js\"),\n        loader: \"exports-loader\",\n        options: {\n          type: \"commonjs\",\n          exports: {\n            syntax: \"single\",\n            name: \"Foo\",\n          },\n        },\n      },\n    ],\n  },\n};\n```\n\nGenerate output:\n\n```js\n// ...\n// Code\n// ...\n\nmodule.exports = Foo;\n```\n\n###### CommonJS Multiple Exports\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: require.resolve(\"./path/to/vendor.js\"),\n        loader: \"exports-loader\",\n        options: {\n          type: \"commonjs\",\n          exports: {\n            syntax: \"multiple\",\n            name: \"Foo\",\n            alias: \"FooA\",\n          },\n        },\n      },\n    ],\n  },\n};\n```\n\nGenerate output:\n\n```js\n// ...\n// Code\n// ...\n\nmodule.exports = { FooA: Foo };\n```\n\n#### `Array`\n\nAllow to specify multiple exports. Each item can be a [`string`](https://github.com/webpack-contrib/exports-loader#string) or an [`object`](https://github.com/webpack-contrib/exports-loader#object).\n\n> ⚠ Not possible to use `single` and `multiple` syntaxes together due to CommonJS format limitations.\n\n> ⚠ Not possible to use multiple `default` values due to ES module format limitations.\n\n> ⚠ Not possible to use multiple `single` values due to CommonJS format limitations.\n\n##### Examples\n\n###### CommonJS Multiple Exports\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: require.resolve(\"./path/to/vendor.js\"),\n        loader: \"exports-loader\",\n        options: {\n          type: \"commonjs\",\n          exports: [\"Foo\", \"multiple Bar\", \"multiple Baz BazA\"],\n        },\n      },\n    ],\n  },\n};\n```\n\nGenerate output:\n\n```js\n// ...\n// Code\n// ...\n\nmodule.exports = { Foo, Bar, BazA: Bar };\n```\n\n###### ES Module Default Export And Named Exports Together\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: require.resolve(\"./path/to/vendor.js\"),\n        loader: \"exports-loader\",\n        options: {\n          exports: [\"default Foo\", \"named Bar BarA\"],\n        },\n      },\n    ],\n  },\n};\n```\n\nGenerate output:\n\n```js\n// ...\n// Code\n// ...\n\nexport default Foo;\nexport { Bar as BarA };\n```\n\n###### Named Exports\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: require.resolve(\"./path/to/vendor.js\"),\n        loader: \"exports-loader\",\n        options: {\n          exports: [\n            { syntax: \"named\", name: \"Foo\", alias: \"FooA\" },\n            { syntax: \"named\", name: \"Bar\" },\n            \"Baz\",\n          ],\n        },\n      },\n    ],\n  },\n};\n```\n\nGenerate output:\n\n```js\n// ...\n// Code\n// ...\n\nexport { Foo as FooA, Bar, Baz };\n```\n\n## Contributing\n\nPlease take a moment to read our contributing guidelines if you haven't yet done so.\n\n[CONTRIBUTING](./.github/CONTRIBUTING.md)\n\n## License\n\n[MIT](./LICENSE)\n\n[npm]: https://img.shields.io/npm/v/exports-loader.svg\n[npm-url]: https://npmjs.com/package/exports-loader\n[node]: https://img.shields.io/node/v/exports-loader.svg\n[node-url]: https://nodejs.org\n[deps]: https://david-dm.org/webpack-contrib/exports-loader.svg\n[deps-url]: https://david-dm.org/webpack-contrib/exports-loader\n[tests]: https://github.com/webpack-contrib/exports-loader/workflows/exports-loader/badge.svg\n[tests-url]: https://github.com/webpack-contrib/exports-loader/actions\n[cover]: https://codecov.io/gh/webpack-contrib/exports-loader/branch/master/graph/badge.svg\n[cover-url]: https://codecov.io/gh/webpack-contrib/exports-loader\n[chat]: https://badges.gitter.im/webpack/webpack.svg\n[chat-url]: https://gitter.im/webpack/webpack\n[size]: https://packagephobia.now.sh/badge?p=exports-loader\n[size-url]: https://packagephobia.now.sh/result?p=exports-loader\n","_attachments":{},"homepage":"https://github.com/webpack-contrib/exports-loader","bugs":{"url":"https://github.com/webpack-contrib/exports-loader/issues"},"license":"MIT"}