├── .gitignore ├── .travis.yml ├── CODEOWNERS ├── CONTRIBUTING ├── CONTRIBUTORS ├── Dockerfile ├── LICENSE ├── README.md ├── index.js ├── karma.conf.js ├── loader.ejs ├── package.json ├── renovate.json ├── run_tests.js └── tests ├── dynamic-import.test.js ├── fixtures ├── dynamic-import │ ├── a.js │ ├── build │ │ └── runner.html │ └── entry.js ├── import-meta │ ├── a.js │ ├── build │ │ └── runner.html │ └── entry.js ├── public-path │ ├── a.js │ ├── build │ │ └── runner.html │ ├── config.json │ └── entry.js ├── simple-bundle │ ├── a.js │ ├── build │ │ └── runner.html │ └── entry.js ├── single-default │ ├── a.js │ ├── build │ │ └── runner.html │ └── entry.js ├── top-level-function-name │ ├── a.js │ ├── build │ │ └── runner.html │ ├── config.json │ └── entry.js └── worker │ ├── a.js │ ├── build │ └── runner.html │ └── entry.js ├── import-meta.test.js ├── public-path.test.js ├── simple-bundle.test.js ├── single-default.test.js ├── top-level-function-name.test.js └── worker.test.js /.gitignore: -------------------------------------------------------------------------------- 1 | tests/fixtures/*/build/*.js 2 | node_modules 3 | package-lock.json 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/.travis.yml -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | @surma 2 | -------------------------------------------------------------------------------- /CONTRIBUTING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/CONTRIBUTING -------------------------------------------------------------------------------- /CONTRIBUTORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/CONTRIBUTORS -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/README.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/index.js -------------------------------------------------------------------------------- /karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/karma.conf.js -------------------------------------------------------------------------------- /loader.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/loader.ejs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/package.json -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["config:base"] 3 | } 4 | -------------------------------------------------------------------------------- /run_tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/run_tests.js -------------------------------------------------------------------------------- /tests/dynamic-import.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/dynamic-import.test.js -------------------------------------------------------------------------------- /tests/fixtures/dynamic-import/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/dynamic-import/a.js -------------------------------------------------------------------------------- /tests/fixtures/dynamic-import/build/runner.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/dynamic-import/build/runner.html -------------------------------------------------------------------------------- /tests/fixtures/dynamic-import/entry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/dynamic-import/entry.js -------------------------------------------------------------------------------- /tests/fixtures/import-meta/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/import-meta/a.js -------------------------------------------------------------------------------- /tests/fixtures/import-meta/build/runner.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/import-meta/build/runner.html -------------------------------------------------------------------------------- /tests/fixtures/import-meta/entry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/import-meta/entry.js -------------------------------------------------------------------------------- /tests/fixtures/public-path/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/public-path/a.js -------------------------------------------------------------------------------- /tests/fixtures/public-path/build/runner.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/public-path/build/runner.html -------------------------------------------------------------------------------- /tests/fixtures/public-path/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/public-path/config.json -------------------------------------------------------------------------------- /tests/fixtures/public-path/entry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/public-path/entry.js -------------------------------------------------------------------------------- /tests/fixtures/simple-bundle/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/simple-bundle/a.js -------------------------------------------------------------------------------- /tests/fixtures/simple-bundle/build/runner.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/simple-bundle/build/runner.html -------------------------------------------------------------------------------- /tests/fixtures/simple-bundle/entry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/simple-bundle/entry.js -------------------------------------------------------------------------------- /tests/fixtures/single-default/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/single-default/a.js -------------------------------------------------------------------------------- /tests/fixtures/single-default/build/runner.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/single-default/build/runner.html -------------------------------------------------------------------------------- /tests/fixtures/single-default/entry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/single-default/entry.js -------------------------------------------------------------------------------- /tests/fixtures/top-level-function-name/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/top-level-function-name/a.js -------------------------------------------------------------------------------- /tests/fixtures/top-level-function-name/build/runner.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/top-level-function-name/build/runner.html -------------------------------------------------------------------------------- /tests/fixtures/top-level-function-name/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "topLevelFunctionName": "foo" 3 | } 4 | -------------------------------------------------------------------------------- /tests/fixtures/top-level-function-name/entry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/top-level-function-name/entry.js -------------------------------------------------------------------------------- /tests/fixtures/worker/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/worker/a.js -------------------------------------------------------------------------------- /tests/fixtures/worker/build/runner.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/worker/build/runner.html -------------------------------------------------------------------------------- /tests/fixtures/worker/entry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/fixtures/worker/entry.js -------------------------------------------------------------------------------- /tests/import-meta.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/import-meta.test.js -------------------------------------------------------------------------------- /tests/public-path.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/public-path.test.js -------------------------------------------------------------------------------- /tests/simple-bundle.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/simple-bundle.test.js -------------------------------------------------------------------------------- /tests/single-default.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/single-default.test.js -------------------------------------------------------------------------------- /tests/top-level-function-name.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/top-level-function-name.test.js -------------------------------------------------------------------------------- /tests/worker.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/surma/rollup-plugin-loadz0r/HEAD/tests/worker.test.js --------------------------------------------------------------------------------