@remotion/bundler 2.6.6 → 2.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundler.d.ts +0 -0
- package/dist/bundler.d.ts.map +0 -0
- package/dist/bundler.js +0 -0
- package/dist/bundler.js.map +0 -0
- package/dist/copy-dir.d.ts +0 -0
- package/dist/copy-dir.d.ts.map +0 -0
- package/dist/copy-dir.js +0 -0
- package/dist/copy-dir.js.map +0 -0
- package/dist/dev-middleware/compatible-api.d.ts +0 -0
- package/dist/dev-middleware/compatible-api.d.ts.map +0 -0
- package/dist/dev-middleware/compatible-api.js +0 -0
- package/dist/dev-middleware/compatible-api.js.map +0 -0
- package/dist/dev-middleware/get-filename-from-url.d.ts +0 -0
- package/dist/dev-middleware/get-filename-from-url.d.ts.map +0 -0
- package/dist/dev-middleware/get-filename-from-url.js +0 -0
- package/dist/dev-middleware/get-filename-from-url.js.map +0 -0
- package/dist/dev-middleware/get-paths.d.ts +0 -0
- package/dist/dev-middleware/get-paths.d.ts.map +0 -0
- package/dist/dev-middleware/get-paths.js +0 -0
- package/dist/dev-middleware/get-paths.js.map +0 -0
- package/dist/dev-middleware/index.d.ts +0 -0
- package/dist/dev-middleware/index.d.ts.map +0 -0
- package/dist/dev-middleware/index.js +0 -0
- package/dist/dev-middleware/index.js.map +0 -0
- package/dist/dev-middleware/is-color-supported.d.ts +0 -0
- package/dist/dev-middleware/is-color-supported.d.ts.map +0 -0
- package/dist/dev-middleware/is-color-supported.js +0 -0
- package/dist/dev-middleware/is-color-supported.js.map +0 -0
- package/dist/dev-middleware/middleware.d.ts +0 -0
- package/dist/dev-middleware/middleware.d.ts.map +0 -0
- package/dist/dev-middleware/middleware.js +0 -0
- package/dist/dev-middleware/middleware.js.map +0 -0
- package/dist/dev-middleware/range-parser.d.ts +0 -0
- package/dist/dev-middleware/range-parser.d.ts.map +0 -0
- package/dist/dev-middleware/range-parser.js +0 -0
- package/dist/dev-middleware/range-parser.js.map +0 -0
- package/dist/dev-middleware/ready.d.ts +0 -0
- package/dist/dev-middleware/ready.d.ts.map +0 -0
- package/dist/dev-middleware/ready.js +0 -0
- package/dist/dev-middleware/ready.js.map +0 -0
- package/dist/dev-middleware/setup-hooks.d.ts +0 -0
- package/dist/dev-middleware/setup-hooks.d.ts.map +0 -0
- package/dist/dev-middleware/setup-hooks.js +0 -0
- package/dist/dev-middleware/setup-hooks.js.map +0 -0
- package/dist/dev-middleware/setup-output-filesystem.d.ts +0 -0
- package/dist/dev-middleware/setup-output-filesystem.d.ts.map +0 -0
- package/dist/dev-middleware/setup-output-filesystem.js +0 -0
- package/dist/dev-middleware/setup-output-filesystem.js.map +0 -0
- package/dist/dev-middleware/types.d.ts +0 -0
- package/dist/dev-middleware/types.d.ts.map +0 -0
- package/dist/dev-middleware/types.js +0 -0
- package/dist/dev-middleware/types.js.map +0 -0
- package/dist/error-overlay/entry-basic.d.ts +0 -0
- package/dist/error-overlay/entry-basic.d.ts.map +0 -0
- package/dist/error-overlay/entry-basic.js +0 -0
- package/dist/error-overlay/entry-basic.js.map +0 -0
- package/dist/error-overlay/react-overlay/effects/format-warning.d.ts +0 -0
- package/dist/error-overlay/react-overlay/effects/format-warning.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/effects/format-warning.js +0 -0
- package/dist/error-overlay/react-overlay/effects/format-warning.js.map +0 -0
- package/dist/error-overlay/react-overlay/effects/map-error-to-react-stack.d.ts +0 -0
- package/dist/error-overlay/react-overlay/effects/map-error-to-react-stack.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/effects/map-error-to-react-stack.js +0 -0
- package/dist/error-overlay/react-overlay/effects/map-error-to-react-stack.js.map +0 -0
- package/dist/error-overlay/react-overlay/effects/proxy-console.d.ts +0 -0
- package/dist/error-overlay/react-overlay/effects/proxy-console.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/effects/proxy-console.js +0 -0
- package/dist/error-overlay/react-overlay/effects/proxy-console.js.map +0 -0
- package/dist/error-overlay/react-overlay/effects/resolve-file-source.d.ts +0 -0
- package/dist/error-overlay/react-overlay/effects/resolve-file-source.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/effects/resolve-file-source.js +0 -0
- package/dist/error-overlay/react-overlay/effects/resolve-file-source.js.map +0 -0
- package/dist/error-overlay/react-overlay/effects/stack-trace-limit.d.ts +0 -0
- package/dist/error-overlay/react-overlay/effects/stack-trace-limit.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/effects/stack-trace-limit.js +0 -0
- package/dist/error-overlay/react-overlay/effects/stack-trace-limit.js.map +0 -0
- package/dist/error-overlay/react-overlay/effects/unhandled-error.d.ts +0 -0
- package/dist/error-overlay/react-overlay/effects/unhandled-error.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/effects/unhandled-error.js +0 -0
- package/dist/error-overlay/react-overlay/effects/unhandled-error.js.map +0 -0
- package/dist/error-overlay/react-overlay/effects/unhandled-rejection.d.ts +0 -0
- package/dist/error-overlay/react-overlay/effects/unhandled-rejection.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/effects/unhandled-rejection.js +0 -0
- package/dist/error-overlay/react-overlay/effects/unhandled-rejection.js.map +0 -0
- package/dist/error-overlay/react-overlay/index.d.ts +0 -0
- package/dist/error-overlay/react-overlay/index.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/index.js +0 -0
- package/dist/error-overlay/react-overlay/index.js.map +0 -0
- package/dist/error-overlay/react-overlay/listen-to-runtime-errors.d.ts +0 -0
- package/dist/error-overlay/react-overlay/listen-to-runtime-errors.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/listen-to-runtime-errors.js +0 -0
- package/dist/error-overlay/react-overlay/listen-to-runtime-errors.js.map +0 -0
- package/dist/error-overlay/react-overlay/utils/get-file-source.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/get-file-source.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/utils/get-file-source.js +0 -0
- package/dist/error-overlay/react-overlay/utils/get-file-source.js.map +0 -0
- package/dist/error-overlay/react-overlay/utils/get-lines-around.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/get-lines-around.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/utils/get-lines-around.js +0 -0
- package/dist/error-overlay/react-overlay/utils/get-lines-around.js.map +0 -0
- package/dist/error-overlay/react-overlay/utils/get-source-map.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/get-source-map.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/utils/get-source-map.js +0 -0
- package/dist/error-overlay/react-overlay/utils/get-source-map.js.map +0 -0
- package/dist/error-overlay/react-overlay/utils/get-stack-frames.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/get-stack-frames.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/utils/get-stack-frames.js +0 -0
- package/dist/error-overlay/react-overlay/utils/get-stack-frames.js.map +0 -0
- package/dist/error-overlay/react-overlay/utils/mapper.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/mapper.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/utils/mapper.js +0 -0
- package/dist/error-overlay/react-overlay/utils/mapper.js.map +0 -0
- package/dist/error-overlay/react-overlay/utils/open-in-editor.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/open-in-editor.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/utils/open-in-editor.js +0 -0
- package/dist/error-overlay/react-overlay/utils/open-in-editor.js.map +0 -0
- package/dist/error-overlay/react-overlay/utils/parser.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/parser.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/utils/parser.js +0 -0
- package/dist/error-overlay/react-overlay/utils/parser.js.map +0 -0
- package/dist/error-overlay/react-overlay/utils/path.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/path.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/utils/path.js +0 -0
- package/dist/error-overlay/react-overlay/utils/path.js.map +0 -0
- package/dist/error-overlay/react-overlay/utils/settle-promise.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/settle-promise.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/utils/settle-promise.js +0 -0
- package/dist/error-overlay/react-overlay/utils/settle-promise.js.map +0 -0
- package/dist/error-overlay/react-overlay/utils/stack-frame.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/stack-frame.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/utils/stack-frame.js +0 -0
- package/dist/error-overlay/react-overlay/utils/stack-frame.js.map +0 -0
- package/dist/error-overlay/react-overlay/utils/unmapper.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/unmapper.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/utils/unmapper.js +0 -0
- package/dist/error-overlay/react-overlay/utils/unmapper.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/AskOnDiscord.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/AskOnDiscord.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/AskOnDiscord.js +0 -0
- package/dist/error-overlay/remotion-overlay/AskOnDiscord.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/Button.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/Button.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/Button.js +0 -0
- package/dist/error-overlay/remotion-overlay/Button.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/CodeFrame.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/CodeFrame.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/CodeFrame.js +0 -0
- package/dist/error-overlay/remotion-overlay/CodeFrame.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/DismissButton.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/DismissButton.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/DismissButton.js +0 -0
- package/dist/error-overlay/remotion-overlay/DismissButton.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorDisplay.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorDisplay.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorDisplay.js +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorDisplay.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorLoader.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorLoader.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorLoader.js +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorLoader.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorTitle.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorTitle.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorTitle.js +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorTitle.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/OpenInEditor.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/OpenInEditor.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/OpenInEditor.js +0 -0
- package/dist/error-overlay/remotion-overlay/OpenInEditor.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/Overlay.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/Overlay.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/Overlay.js +0 -0
- package/dist/error-overlay/remotion-overlay/Overlay.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/SearchGitHubIssues.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/SearchGitHubIssues.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/SearchGitHubIssues.js +0 -0
- package/dist/error-overlay/remotion-overlay/SearchGitHubIssues.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/StackFrame.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/StackFrame.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/StackFrame.js +0 -0
- package/dist/error-overlay/remotion-overlay/StackFrame.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/Symbolicating.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/Symbolicating.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/Symbolicating.js +0 -0
- package/dist/error-overlay/remotion-overlay/Symbolicating.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/carets.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/carets.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/carets.js +0 -0
- package/dist/error-overlay/remotion-overlay/carets.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/format-location.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/format-location.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/format-location.js +0 -0
- package/dist/error-overlay/remotion-overlay/format-location.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/index.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/index.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/index.js +0 -0
- package/dist/error-overlay/remotion-overlay/index.js.map +0 -0
- package/dist/esbuild-loader/index.d.ts +5 -0
- package/dist/esbuild-loader/index.d.ts.map +1 -0
- package/dist/esbuild-loader/index.js +47 -0
- package/dist/esbuild-loader/index.js.map +1 -0
- package/dist/esbuild-loader/interfaces.d.ts +12 -0
- package/dist/esbuild-loader/interfaces.d.ts.map +1 -0
- package/dist/esbuild-loader/interfaces.js +3 -0
- package/dist/esbuild-loader/interfaces.js.map +1 -0
- package/dist/fast-refresh/helpers.d.ts +0 -0
- package/dist/fast-refresh/helpers.d.ts.map +0 -0
- package/dist/fast-refresh/helpers.js +0 -0
- package/dist/fast-refresh/helpers.js.map +0 -0
- package/dist/fast-refresh/index.d.ts +0 -0
- package/dist/fast-refresh/index.d.ts.map +0 -0
- package/dist/fast-refresh/index.js +0 -0
- package/dist/fast-refresh/index.js.map +0 -0
- package/dist/fast-refresh/loader.d.ts +0 -0
- package/dist/fast-refresh/loader.d.ts.map +0 -0
- package/dist/fast-refresh/loader.js +0 -0
- package/dist/fast-refresh/loader.js.map +0 -0
- package/dist/fast-refresh/runtime.d.ts +0 -0
- package/dist/fast-refresh/runtime.d.ts.map +0 -0
- package/dist/fast-refresh/runtime.js +0 -0
- package/dist/fast-refresh/runtime.js.map +0 -0
- package/dist/get-latest-remotion-version.d.ts +0 -0
- package/dist/get-latest-remotion-version.d.ts.map +0 -0
- package/dist/get-latest-remotion-version.js +0 -0
- package/dist/get-latest-remotion-version.js.map +0 -0
- package/dist/get-package-manager.d.ts +0 -0
- package/dist/get-package-manager.d.ts.map +0 -0
- package/dist/get-package-manager.js +0 -0
- package/dist/get-package-manager.js.map +0 -0
- package/dist/get-port.d.ts +0 -0
- package/dist/get-port.d.ts.map +0 -0
- package/dist/get-port.js +0 -0
- package/dist/get-port.js.map +0 -0
- package/dist/homepage/homepage.d.ts +0 -0
- package/dist/homepage/homepage.d.ts.map +0 -0
- package/dist/homepage/homepage.js +0 -0
- package/dist/homepage/homepage.js.map +0 -0
- package/dist/hot-middleware/client.d.ts +0 -0
- package/dist/hot-middleware/client.d.ts.map +0 -0
- package/dist/hot-middleware/client.js +0 -0
- package/dist/hot-middleware/client.js.map +0 -0
- package/dist/hot-middleware/index.d.ts +0 -0
- package/dist/hot-middleware/index.d.ts.map +0 -0
- package/dist/hot-middleware/index.js +0 -0
- package/dist/hot-middleware/index.js.map +0 -0
- package/dist/hot-middleware/process-update.d.ts +0 -0
- package/dist/hot-middleware/process-update.d.ts.map +0 -0
- package/dist/hot-middleware/process-update.js +0 -0
- package/dist/hot-middleware/process-update.js.map +0 -0
- package/dist/hot-middleware/strip-ansi.d.ts +0 -0
- package/dist/hot-middleware/strip-ansi.d.ts.map +0 -0
- package/dist/hot-middleware/strip-ansi.js +0 -0
- package/dist/hot-middleware/strip-ansi.js.map +0 -0
- package/dist/hot-middleware/types.d.ts +0 -0
- package/dist/hot-middleware/types.d.ts.map +0 -0
- package/dist/hot-middleware/types.js +0 -0
- package/dist/hot-middleware/types.js.map +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.d.ts.map +0 -0
- package/dist/index.js +0 -0
- package/dist/index.js.map +0 -0
- package/dist/override-webpack.d.ts +0 -0
- package/dist/override-webpack.d.ts.map +0 -0
- package/dist/override-webpack.js +0 -0
- package/dist/override-webpack.js.map +0 -0
- package/dist/project-info.d.ts +0 -0
- package/dist/project-info.d.ts.map +0 -0
- package/dist/project-info.js +0 -0
- package/dist/project-info.js.map +0 -0
- package/dist/renderEntry.d.ts +0 -0
- package/dist/renderEntry.d.ts.map +0 -0
- package/dist/renderEntry.js +0 -0
- package/dist/renderEntry.js.map +0 -0
- package/dist/setup-environment.d.ts +0 -0
- package/dist/setup-environment.d.ts.map +0 -0
- package/dist/setup-environment.js +0 -0
- package/dist/setup-environment.js.map +0 -0
- package/dist/start-server.d.ts +0 -0
- package/dist/start-server.d.ts.map +0 -0
- package/dist/start-server.js +0 -0
- package/dist/start-server.js.map +0 -0
- package/dist/static-preview.d.ts +0 -0
- package/dist/static-preview.d.ts.map +0 -0
- package/dist/static-preview.js +0 -0
- package/dist/static-preview.js.map +0 -0
- package/dist/test/expect-to-throw.d.ts +0 -0
- package/dist/test/expect-to-throw.d.ts.map +0 -0
- package/dist/test/expect-to-throw.js +0 -0
- package/dist/test/expect-to-throw.js.map +0 -0
- package/dist/test/latest-remotion-version.test.d.ts +0 -0
- package/dist/test/latest-remotion-version.test.d.ts.map +0 -0
- package/dist/test/latest-remotion-version.test.js +0 -0
- package/dist/test/latest-remotion-version.test.js.map +0 -0
- package/dist/test/parse-error-stack.test.d.ts +0 -0
- package/dist/test/parse-error-stack.test.d.ts.map +0 -0
- package/dist/test/parse-error-stack.test.js +0 -0
- package/dist/test/parse-error-stack.test.js.map +0 -0
- package/dist/test/parse-module-not-found.test.d.ts +0 -0
- package/dist/test/parse-module-not-found.test.d.ts.map +0 -0
- package/dist/test/parse-module-not-found.test.js +0 -0
- package/dist/test/parse-module-not-found.test.js.map +0 -0
- package/dist/test/secure-source-read.test.d.ts +0 -0
- package/dist/test/secure-source-read.test.d.ts.map +0 -0
- package/dist/test/secure-source-read.test.js +0 -0
- package/dist/test/secure-source-read.test.js.map +0 -0
- package/dist/update-available.d.ts +0 -0
- package/dist/update-available.d.ts.map +0 -0
- package/dist/update-available.js +0 -0
- package/dist/update-available.js.map +0 -0
- package/dist/webpack-cache.d.ts +0 -0
- package/dist/webpack-cache.d.ts.map +0 -0
- package/dist/webpack-cache.js +0 -0
- package/dist/webpack-cache.js.map +0 -0
- package/dist/webpack-config.d.ts +0 -0
- package/dist/webpack-config.d.ts.map +0 -0
- package/dist/webpack-config.js +0 -0
- package/dist/webpack-config.js.map +0 -0
- package/package.json +3 -3
package/dist/bundler.d.ts
CHANGED
|
File without changes
|
package/dist/bundler.d.ts.map
CHANGED
|
File without changes
|
package/dist/bundler.js
CHANGED
|
File without changes
|
package/dist/bundler.js.map
CHANGED
|
File without changes
|
package/dist/copy-dir.d.ts
CHANGED
|
File without changes
|
package/dist/copy-dir.d.ts.map
CHANGED
|
File without changes
|
package/dist/copy-dir.js
CHANGED
|
File without changes
|
package/dist/copy-dir.js.map
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/esbuild-loader/index.ts"],"names":[],"mappings":"AAGA,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAC,aAAa,EAAC,MAAM,cAAc,CAAC;AAM3C,iBAAe,aAAa,CAC3B,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,EAC1C,MAAM,EAAE,MAAM,GACZ,OAAO,CAAC,IAAI,CAAC,CAgDf;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const path_1 = __importDefault(require("path"));
|
|
7
|
+
const esbuild_1 = require("esbuild");
|
|
8
|
+
const typescript_1 = __importDefault(require("typescript"));
|
|
9
|
+
const tsConfigPath = path_1.default.join(process.cwd(), 'tsconfig.json');
|
|
10
|
+
const isTsExtensionPtrn = /\.ts$/i;
|
|
11
|
+
async function ESBuildLoader(source) {
|
|
12
|
+
var _a, _b, _c;
|
|
13
|
+
const done = this.async();
|
|
14
|
+
this.getOptions();
|
|
15
|
+
const options = this.getOptions();
|
|
16
|
+
const { implementation, ...esbuildTransformOptions } = options;
|
|
17
|
+
if (implementation && typeof implementation.transform !== 'function') {
|
|
18
|
+
done(new TypeError(`esbuild-loader: options.implementation.transform must be an ESBuild transform function. Received ${typeof implementation.transform}`));
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
const transform = (_a = implementation === null || implementation === void 0 ? void 0 : implementation.transform) !== null && _a !== void 0 ? _a : esbuild_1.transform;
|
|
22
|
+
const transformOptions = {
|
|
23
|
+
...esbuildTransformOptions,
|
|
24
|
+
target: (_b = options.target) !== null && _b !== void 0 ? _b : 'es2015',
|
|
25
|
+
loader: (_c = options.loader) !== null && _c !== void 0 ? _c : 'js',
|
|
26
|
+
sourcemap: this.sourceMap,
|
|
27
|
+
sourcefile: this.resourcePath,
|
|
28
|
+
};
|
|
29
|
+
if (!('tsconfigRaw' in transformOptions)) {
|
|
30
|
+
const tsConfig = typescript_1.default.readConfigFile(tsConfigPath, typescript_1.default.sys.readFile);
|
|
31
|
+
transformOptions.tsconfigRaw = tsConfig.config;
|
|
32
|
+
}
|
|
33
|
+
// https://github.com/privatenumber/esbuild-loader/pull/107
|
|
34
|
+
if (transformOptions.loader === 'tsx' &&
|
|
35
|
+
isTsExtensionPtrn.test(this.resourcePath)) {
|
|
36
|
+
transformOptions.loader = 'ts';
|
|
37
|
+
}
|
|
38
|
+
try {
|
|
39
|
+
const { code, map } = await transform(source, transformOptions);
|
|
40
|
+
done(null, code, map && JSON.parse(map));
|
|
41
|
+
}
|
|
42
|
+
catch (error) {
|
|
43
|
+
done(error);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.default = ESBuildLoader;
|
|
47
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/esbuild-loader/index.ts"],"names":[],"mappings":";;;;;AAAA,gDAAwB;AACxB,qCAA6D;AAC7D,4DAAoC;AAIpC,MAAM,YAAY,GAAG,cAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,eAAe,CAAC,CAAC;AAE/D,MAAM,iBAAiB,GAAG,QAAQ,CAAC;AAEnC,KAAK,UAAU,aAAa,CAE3B,MAAc;;IAEd,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;IAC1B,IAAI,CAAC,UAAU,EAAE,CAAC;IAClB,MAAM,OAAO,GAAkB,IAAI,CAAC,UAAU,EAAE,CAAC;IACjD,MAAM,EAAC,cAAc,EAAE,GAAG,uBAAuB,EAAC,GAAG,OAAO,CAAC;IAE7D,IAAI,cAAc,IAAI,OAAO,cAAc,CAAC,SAAS,KAAK,UAAU,EAAE;QACrE,IAAI,CACH,IAAI,SAAS,CACZ,oGAAoG,OAAO,cAAc,CAAC,SAAS,EAAE,CACrI,CACD,CAAC;QACF,OAAO;KACP;IAED,MAAM,SAAS,GAAG,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,SAAS,mCAAI,mBAAuB,CAAC;IAEvE,MAAM,gBAAgB,GAAG;QACxB,GAAG,uBAAuB;QAC1B,MAAM,EAAE,MAAA,OAAO,CAAC,MAAM,mCAAI,QAAQ;QAClC,MAAM,EAAE,MAAA,OAAO,CAAC,MAAM,mCAAI,IAAI;QAC9B,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,UAAU,EAAE,IAAI,CAAC,YAAY;KAC7B,CAAC;IAEF,IAAI,CAAC,CAAC,aAAa,IAAI,gBAAgB,CAAC,EAAE;QACzC,MAAM,QAAQ,GAAG,oBAAU,CAAC,cAAc,CACzC,YAAY,EACZ,oBAAU,CAAC,GAAG,CAAC,QAAQ,CACvB,CAAC;QAEF,gBAAgB,CAAC,WAAW,GAAG,QAAQ,CAAC,MAAM,CAAC;KAC/C;IAED,2DAA2D;IAC3D,IACC,gBAAgB,CAAC,MAAM,KAAK,KAAK;QACjC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,EACxC;QACD,gBAAgB,CAAC,MAAM,GAAG,IAAI,CAAC;KAC/B;IAED,IAAI;QACH,MAAM,EAAC,IAAI,EAAE,GAAG,EAAC,GAAG,MAAM,SAAS,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;QAC9D,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;KACzC;IAAC,OAAO,KAAc,EAAE;QACxB,IAAI,CAAC,KAAc,CAAC,CAAC;KACrB;AACF,CAAC;AAED,kBAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { transform, TransformOptions } from 'esbuild';
|
|
2
|
+
declare type Implementation = {
|
|
3
|
+
transform: typeof transform;
|
|
4
|
+
};
|
|
5
|
+
declare type Except<ObjectType, Properties> = {
|
|
6
|
+
[Key in keyof ObjectType as Key extends Properties ? never : Key]: ObjectType[Key];
|
|
7
|
+
};
|
|
8
|
+
export declare type LoaderOptions = Except<TransformOptions, 'sourcemap' | 'sourcefile'> & {
|
|
9
|
+
implementation: Implementation;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/esbuild-loader/interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,gBAAgB,EAAC,MAAM,SAAS,CAAC;AAEpD,aAAK,cAAc,GAAG;IACrB,SAAS,EAAE,OAAO,SAAS,CAAC;CAC5B,CAAC;AAEF,aAAK,MAAM,CAAC,UAAU,EAAE,UAAU,IAAI;KACpC,GAAG,IAAI,MAAM,UAAU,IAAI,GAAG,SAAS,UAAU,GAC/C,KAAK,GACL,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;CACxB,CAAC;AAEF,oBAAY,aAAa,GAAG,MAAM,CACjC,gBAAgB,EAChB,WAAW,GAAG,YAAY,CAC1B,GAAG;IACH,cAAc,EAAE,cAAc,CAAC;CAC/B,CAAC"}
|