├── .eslintignore ├── .githooks ├── commit-msg └── pre-commit ├── .github ├── FUNDING.yml ├── stale.yml └── workflows │ ├── release.yml │ └── test.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE.txt ├── package.json ├── readme.md ├── src ├── DirectoryStore.ts ├── cssPlugin.ts ├── defaultPlugin.ts ├── embedCSSPlugin.ts ├── getChunkRelation.ts ├── getFirstInput.ts ├── index.ts ├── isOutputChunk.ts ├── parseBundle.ts ├── scriptPlugin.ts └── types.ts ├── test ├── deleteFiles.ts ├── deployFiles.ts ├── index.ts ├── plugins.d.ts ├── plugins.js ├── run.ts ├── src │ ├── input-sync.js │ ├── input1.js │ ├── input2.js │ ├── set.js │ ├── style1.css │ ├── style2.css │ ├── style3.css │ ├── style4.css │ ├── test-sync.js │ └── test.js ├── test-css.ts ├── test-es.ts ├── test-iife.ts ├── test-system.ts └── test-umd.ts ├── tsconfig.build.json └── tsconfig.json /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/.eslintignore -------------------------------------------------------------------------------- /.githooks/commit-msg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | npx @nlib/lint-commit --input $1 3 | -------------------------------------------------------------------------------- /.githooks/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | npx lint-staged 3 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/readme.md -------------------------------------------------------------------------------- /src/DirectoryStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/src/DirectoryStore.ts -------------------------------------------------------------------------------- /src/cssPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/src/cssPlugin.ts -------------------------------------------------------------------------------- /src/defaultPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/src/defaultPlugin.ts -------------------------------------------------------------------------------- /src/embedCSSPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/src/embedCSSPlugin.ts -------------------------------------------------------------------------------- /src/getChunkRelation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/src/getChunkRelation.ts -------------------------------------------------------------------------------- /src/getFirstInput.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/src/getFirstInput.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/isOutputChunk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/src/isOutputChunk.ts -------------------------------------------------------------------------------- /src/parseBundle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/src/parseBundle.ts -------------------------------------------------------------------------------- /src/scriptPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/src/scriptPlugin.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/src/types.ts -------------------------------------------------------------------------------- /test/deleteFiles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/deleteFiles.ts -------------------------------------------------------------------------------- /test/deployFiles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/deployFiles.ts -------------------------------------------------------------------------------- /test/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/index.ts -------------------------------------------------------------------------------- /test/plugins.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/plugins.d.ts -------------------------------------------------------------------------------- /test/plugins.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/plugins.js -------------------------------------------------------------------------------- /test/run.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/run.ts -------------------------------------------------------------------------------- /test/src/input-sync.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/src/input-sync.js -------------------------------------------------------------------------------- /test/src/input1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/src/input1.js -------------------------------------------------------------------------------- /test/src/input2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/src/input2.js -------------------------------------------------------------------------------- /test/src/set.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/src/set.js -------------------------------------------------------------------------------- /test/src/style1.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/src/style1.css -------------------------------------------------------------------------------- /test/src/style2.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/src/style2.css -------------------------------------------------------------------------------- /test/src/style3.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/src/style3.css -------------------------------------------------------------------------------- /test/src/style4.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/src/style4.css -------------------------------------------------------------------------------- /test/src/test-sync.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/src/test-sync.js -------------------------------------------------------------------------------- /test/src/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/src/test.js -------------------------------------------------------------------------------- /test/test-css.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/test-css.ts -------------------------------------------------------------------------------- /test/test-es.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/test-es.ts -------------------------------------------------------------------------------- /test/test-iife.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/test-iife.ts -------------------------------------------------------------------------------- /test/test-system.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/test-system.ts -------------------------------------------------------------------------------- /test/test-umd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/test/test-umd.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjbkz/rollup-plugin-embed-css/HEAD/tsconfig.json --------------------------------------------------------------------------------