├── .gitignore ├── LICENSE ├── README.md ├── examples ├── common │ └── src │ │ ├── about.html │ │ ├── index.html │ │ └── modules │ │ ├── common-html-lib.html │ │ ├── common-js-lib.js │ │ ├── entrypoint-one.html │ │ ├── entrypoint-two.js │ │ ├── x-hello-html.html │ │ └── x-hello-js.js ├── express │ ├── package-lock.json │ ├── package.json │ ├── server.js │ └── src ├── gulp │ ├── gulpfile.js │ ├── package-lock.json │ ├── package.json │ └── src ├── koa │ ├── package-lock.json │ ├── package.json │ ├── server.js │ └── src └── webpack │ ├── package-lock.json │ ├── package.json │ ├── src │ └── webpack.config.js ├── package.json ├── src ├── custom-types │ ├── acorn.d.ts │ ├── babel-core.d.ts │ ├── memfs.d.ts │ └── unionfs.d.ts ├── document-view.ts ├── file.ts ├── html-module-specifier-transform.ts ├── html-module-transform.ts ├── html-module-transform │ ├── express-middleware.ts │ ├── koa-middleware.ts │ ├── vinyl-transform.ts │ └── webpack-plugin.ts ├── index.ts ├── script-view.ts ├── script-view │ └── babel-syntax-plugins.ts └── stream.ts ├── tsconfig.json └── tslint.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | lib 3 | dist 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/README.md -------------------------------------------------------------------------------- /examples/common/src/about.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/common/src/about.html -------------------------------------------------------------------------------- /examples/common/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/common/src/index.html -------------------------------------------------------------------------------- /examples/common/src/modules/common-html-lib.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/common/src/modules/common-html-lib.html -------------------------------------------------------------------------------- /examples/common/src/modules/common-js-lib.js: -------------------------------------------------------------------------------- 1 | export const foo = 'hi'; 2 | -------------------------------------------------------------------------------- /examples/common/src/modules/entrypoint-one.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/common/src/modules/entrypoint-one.html -------------------------------------------------------------------------------- /examples/common/src/modules/entrypoint-two.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/common/src/modules/entrypoint-two.js -------------------------------------------------------------------------------- /examples/common/src/modules/x-hello-html.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/common/src/modules/x-hello-html.html -------------------------------------------------------------------------------- /examples/common/src/modules/x-hello-js.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/common/src/modules/x-hello-js.js -------------------------------------------------------------------------------- /examples/express/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/express/package-lock.json -------------------------------------------------------------------------------- /examples/express/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/express/package.json -------------------------------------------------------------------------------- /examples/express/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/express/server.js -------------------------------------------------------------------------------- /examples/express/src: -------------------------------------------------------------------------------- 1 | ../common/src -------------------------------------------------------------------------------- /examples/gulp/gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/gulp/gulpfile.js -------------------------------------------------------------------------------- /examples/gulp/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/gulp/package-lock.json -------------------------------------------------------------------------------- /examples/gulp/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/gulp/package.json -------------------------------------------------------------------------------- /examples/gulp/src: -------------------------------------------------------------------------------- 1 | ../common/src -------------------------------------------------------------------------------- /examples/koa/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/koa/package-lock.json -------------------------------------------------------------------------------- /examples/koa/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/koa/package.json -------------------------------------------------------------------------------- /examples/koa/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/koa/server.js -------------------------------------------------------------------------------- /examples/koa/src: -------------------------------------------------------------------------------- 1 | ../common/src -------------------------------------------------------------------------------- /examples/webpack/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/webpack/package-lock.json -------------------------------------------------------------------------------- /examples/webpack/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/webpack/package.json -------------------------------------------------------------------------------- /examples/webpack/src: -------------------------------------------------------------------------------- 1 | ../common/src -------------------------------------------------------------------------------- /examples/webpack/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/examples/webpack/webpack.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/package.json -------------------------------------------------------------------------------- /src/custom-types/acorn.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/src/custom-types/acorn.d.ts -------------------------------------------------------------------------------- /src/custom-types/babel-core.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/src/custom-types/babel-core.d.ts -------------------------------------------------------------------------------- /src/custom-types/memfs.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'memfs'; 2 | -------------------------------------------------------------------------------- /src/custom-types/unionfs.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'unionfs'; 2 | -------------------------------------------------------------------------------- /src/document-view.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/src/document-view.ts -------------------------------------------------------------------------------- /src/file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/src/file.ts -------------------------------------------------------------------------------- /src/html-module-specifier-transform.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/src/html-module-specifier-transform.ts -------------------------------------------------------------------------------- /src/html-module-transform.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/src/html-module-transform.ts -------------------------------------------------------------------------------- /src/html-module-transform/express-middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/src/html-module-transform/express-middleware.ts -------------------------------------------------------------------------------- /src/html-module-transform/koa-middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/src/html-module-transform/koa-middleware.ts -------------------------------------------------------------------------------- /src/html-module-transform/vinyl-transform.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/src/html-module-transform/vinyl-transform.ts -------------------------------------------------------------------------------- /src/html-module-transform/webpack-plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/src/html-module-transform/webpack-plugin.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/script-view.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/src/script-view.ts -------------------------------------------------------------------------------- /src/script-view/babel-syntax-plugins.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/src/script-view/babel-syntax-plugins.ts -------------------------------------------------------------------------------- /src/stream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/src/stream.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PolymerLabs/html-modules-toolkit/HEAD/tslint.json --------------------------------------------------------------------------------