├── .editorconfig ├── .eslintignore ├── .eslintrc.json ├── .gitattributes ├── .gitignore ├── .npmignore ├── .travis.yml ├── CHANGELOG.md ├── README.md ├── examples ├── webpack-1 │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc.json │ ├── .gitattributes │ ├── .gitignore │ ├── README.md │ ├── index.html │ ├── package.json │ ├── src │ │ ├── .eslintrc.json │ │ ├── greeting │ │ │ └── index.js │ │ └── index.js │ ├── webpack.config.js │ └── yarn.lock ├── webpack-2 │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc.json │ ├── .gitattributes │ ├── .gitignore │ ├── README.md │ ├── index.html │ ├── package.json │ ├── src │ │ ├── .eslintrc.json │ │ ├── greeting │ │ │ └── index.js │ │ └── index.js │ ├── webpack.config.js │ └── yarn.lock └── webpack-4 │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc.json │ ├── .gitattributes │ ├── .gitignore │ ├── README.md │ ├── index.html │ ├── package.json │ ├── src │ ├── .eslintrc.json │ ├── greeting │ │ └── index.js │ └── index.js │ ├── webpack.config.js │ ├── yarn-error.log │ └── yarn.lock ├── index.js ├── package.json ├── test ├── integration │ ├── cases │ │ ├── contents-async │ │ │ ├── expected │ │ │ │ └── file.txt │ │ │ ├── index.js │ │ │ └── webpack.config.js │ │ ├── contents-function │ │ │ ├── expected │ │ │ │ └── file.txt │ │ │ ├── index.js │ │ │ └── webpack.config.js │ │ ├── contents-object │ │ │ ├── expected │ │ │ │ ├── #file.txt# │ │ │ │ └── file.txt │ │ │ ├── index.js │ │ │ └── webpack.config.js │ │ └── simple │ │ │ ├── expected │ │ │ └── file.txt │ │ │ ├── index.js │ │ │ └── webpack.config.js │ └── index.js └── unit │ ├── populate-filesystem.js │ └── stats.js ├── virtual-stats.js └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | dist/ 3 | .nyc_output 4 | .idea/ 5 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/README.md -------------------------------------------------------------------------------- /examples/webpack-1/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-1/.editorconfig -------------------------------------------------------------------------------- /examples/webpack-1/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /examples/webpack-1/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-1/.eslintrc.json -------------------------------------------------------------------------------- /examples/webpack-1/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /examples/webpack-1/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /examples/webpack-1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-1/README.md -------------------------------------------------------------------------------- /examples/webpack-1/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-1/index.html -------------------------------------------------------------------------------- /examples/webpack-1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-1/package.json -------------------------------------------------------------------------------- /examples/webpack-1/src/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-1/src/.eslintrc.json -------------------------------------------------------------------------------- /examples/webpack-1/src/greeting/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-1/src/greeting/index.js -------------------------------------------------------------------------------- /examples/webpack-1/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-1/src/index.js -------------------------------------------------------------------------------- /examples/webpack-1/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-1/webpack.config.js -------------------------------------------------------------------------------- /examples/webpack-1/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-1/yarn.lock -------------------------------------------------------------------------------- /examples/webpack-2/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-2/.editorconfig -------------------------------------------------------------------------------- /examples/webpack-2/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /examples/webpack-2/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-2/.eslintrc.json -------------------------------------------------------------------------------- /examples/webpack-2/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /examples/webpack-2/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /examples/webpack-2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-2/README.md -------------------------------------------------------------------------------- /examples/webpack-2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-2/index.html -------------------------------------------------------------------------------- /examples/webpack-2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-2/package.json -------------------------------------------------------------------------------- /examples/webpack-2/src/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-2/src/.eslintrc.json -------------------------------------------------------------------------------- /examples/webpack-2/src/greeting/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-2/src/greeting/index.js -------------------------------------------------------------------------------- /examples/webpack-2/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-2/src/index.js -------------------------------------------------------------------------------- /examples/webpack-2/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-2/webpack.config.js -------------------------------------------------------------------------------- /examples/webpack-2/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-2/yarn.lock -------------------------------------------------------------------------------- /examples/webpack-4/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-4/.editorconfig -------------------------------------------------------------------------------- /examples/webpack-4/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /examples/webpack-4/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-4/.eslintrc.json -------------------------------------------------------------------------------- /examples/webpack-4/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /examples/webpack-4/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /examples/webpack-4/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-4/README.md -------------------------------------------------------------------------------- /examples/webpack-4/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-4/index.html -------------------------------------------------------------------------------- /examples/webpack-4/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-4/package.json -------------------------------------------------------------------------------- /examples/webpack-4/src/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-4/src/.eslintrc.json -------------------------------------------------------------------------------- /examples/webpack-4/src/greeting/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-4/src/greeting/index.js -------------------------------------------------------------------------------- /examples/webpack-4/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-4/src/index.js -------------------------------------------------------------------------------- /examples/webpack-4/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-4/webpack.config.js -------------------------------------------------------------------------------- /examples/webpack-4/yarn-error.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-4/yarn-error.log -------------------------------------------------------------------------------- /examples/webpack-4/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/examples/webpack-4/yarn.lock -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/package.json -------------------------------------------------------------------------------- /test/integration/cases/contents-async/expected/file.txt: -------------------------------------------------------------------------------- 1 | a -------------------------------------------------------------------------------- /test/integration/cases/contents-async/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/test/integration/cases/contents-async/index.js -------------------------------------------------------------------------------- /test/integration/cases/contents-async/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/test/integration/cases/contents-async/webpack.config.js -------------------------------------------------------------------------------- /test/integration/cases/contents-function/expected/file.txt: -------------------------------------------------------------------------------- 1 | a -------------------------------------------------------------------------------- /test/integration/cases/contents-function/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/test/integration/cases/contents-function/index.js -------------------------------------------------------------------------------- /test/integration/cases/contents-function/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/test/integration/cases/contents-function/webpack.config.js -------------------------------------------------------------------------------- /test/integration/cases/contents-object/expected/#file.txt#: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/cases/contents-object/expected/file.txt: -------------------------------------------------------------------------------- 1 | {"a":"a"} -------------------------------------------------------------------------------- /test/integration/cases/contents-object/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/test/integration/cases/contents-object/index.js -------------------------------------------------------------------------------- /test/integration/cases/contents-object/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/test/integration/cases/contents-object/webpack.config.js -------------------------------------------------------------------------------- /test/integration/cases/simple/expected/file.txt: -------------------------------------------------------------------------------- 1 | a -------------------------------------------------------------------------------- /test/integration/cases/simple/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/test/integration/cases/simple/index.js -------------------------------------------------------------------------------- /test/integration/cases/simple/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/test/integration/cases/simple/webpack.config.js -------------------------------------------------------------------------------- /test/integration/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/test/integration/index.js -------------------------------------------------------------------------------- /test/unit/populate-filesystem.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/test/unit/populate-filesystem.js -------------------------------------------------------------------------------- /test/unit/stats.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/test/unit/stats.js -------------------------------------------------------------------------------- /virtual-stats.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/virtual-stats.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmarscher/virtual-module-webpack-plugin/HEAD/yarn.lock --------------------------------------------------------------------------------