@remotion/bundler 3.0.0-lambda.25 → 3.0.0-lambda.288

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.
Files changed (54) hide show
  1. package/dist/copy-dir.d.ts +2 -0
  2. package/dist/copy-dir.d.ts.map +1 -0
  3. package/dist/copy-dir.js +24 -0
  4. package/dist/copy-dir.js.map +1 -0
  5. package/dist/fast-refresh/error-overlay/entry-basic.d.ts +3 -0
  6. package/dist/fast-refresh/error-overlay/entry-basic.d.ts.map +1 -0
  7. package/dist/fast-refresh/error-overlay/entry-basic.js +27 -0
  8. package/dist/fast-refresh/error-overlay/entry-basic.js.map +1 -0
  9. package/dist/fast-refresh/error-overlay/entry-devserver.d.ts +8 -0
  10. package/dist/fast-refresh/error-overlay/entry-devserver.d.ts.map +1 -0
  11. package/dist/fast-refresh/error-overlay/entry-devserver.js +36 -0
  12. package/dist/fast-refresh/error-overlay/entry-devserver.js.map +1 -0
  13. package/dist/fast-refresh/error-overlay/index.d.ts +7 -0
  14. package/dist/fast-refresh/error-overlay/index.d.ts.map +1 -0
  15. package/dist/fast-refresh/error-overlay/index.js +92 -0
  16. package/dist/fast-refresh/error-overlay/index.js.map +1 -0
  17. package/dist/fast-refresh/fast-refresh.d.ts +28 -0
  18. package/dist/fast-refresh/fast-refresh.d.ts.map +1 -0
  19. package/dist/fast-refresh/fast-refresh.js +98 -0
  20. package/dist/fast-refresh/fast-refresh.js.map +1 -0
  21. package/dist/fast-refresh/helpers.d.ts +32 -0
  22. package/dist/fast-refresh/helpers.d.ts.map +1 -0
  23. package/dist/fast-refresh/helpers.js +138 -0
  24. package/dist/fast-refresh/helpers.js.map +1 -0
  25. package/dist/fast-refresh/loader.d.ts +26 -0
  26. package/dist/fast-refresh/loader.d.ts.map +1 -0
  27. package/dist/fast-refresh/loader.js +106 -0
  28. package/dist/fast-refresh/loader.js.map +1 -0
  29. package/dist/fast-refresh/runtime.d.ts +26 -0
  30. package/dist/fast-refresh/runtime.d.ts.map +1 -0
  31. package/dist/fast-refresh/runtime.js +52 -0
  32. package/dist/fast-refresh/runtime.js.map +1 -0
  33. package/dist/homepage/homepage.d.ts +4 -0
  34. package/dist/homepage/homepage.d.ts.map +1 -0
  35. package/dist/homepage/homepage.js +63 -0
  36. package/dist/homepage/homepage.js.map +1 -0
  37. package/dist/hot-middleware.d.ts +28 -0
  38. package/dist/hot-middleware.d.ts.map +1 -0
  39. package/dist/hot-middleware.js +119 -0
  40. package/dist/hot-middleware.js.map +1 -0
  41. package/dist/index.d.ts +1 -0
  42. package/dist/index.d.ts.map +1 -1
  43. package/dist/index.js.map +1 -1
  44. package/dist/renderEntry.js +5 -1
  45. package/dist/renderEntry.js.map +1 -1
  46. package/dist/static-preview.d.ts +2 -0
  47. package/dist/static-preview.d.ts.map +1 -0
  48. package/dist/static-preview.js +28 -0
  49. package/dist/static-preview.js.map +1 -0
  50. package/dist/webpack-config.d.ts.map +1 -1
  51. package/dist/webpack-config.js +16 -2
  52. package/dist/webpack-config.js.map +1 -1
  53. package/package.json +6 -5
  54. package/web/index.html +2 -1
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ /**
3
+ * The MIT License (MIT)
4
+ *
5
+ * Copyright (c) 2020 Vercel, Inc.
6
+ *
7
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ * of this software and associated documentation files (the "Software"), to deal
9
+ * in the Software without restriction, including without limitation the rights
10
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ * copies of the Software, and to permit persons to whom the Software is
12
+ * furnished to do so, subject to the following conditions:
13
+ *
14
+ * The above copyright notice and this permission notice shall be included in all
15
+ * copies or substantial portions of the Software.
16
+ *
17
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ * SOFTWARE.
24
+ */
25
+ // This file is copied from the @vercel/next.js, with removed TS annotations
26
+ //
27
+ // https://github.com/vercel/next.js/blob/canary/packages/react-refresh-utils/loader.ts
28
+ // This function gets unwrapped into global scope, which is why we don't invert
29
+ // if-blocks. Also, you cannot use `return`.
30
+ function RefreshModuleRuntime() {
31
+ var _a, _b;
32
+ // Legacy CSS implementations will `eval` browser code in a Node.js context
33
+ // to extract CSS. For backwards compatibility, we need to check we're in a
34
+ // browser context before continuing.
35
+ if (typeof self !== 'undefined' &&
36
+ // AMP / No-JS mode does not inject these helpers:
37
+ '$RefreshHelpers$' in self) {
38
+ // @ts-expect-errors
39
+ // eslint-disable-next-line no-proto
40
+ const currentExports = module.__proto__.exports;
41
+ let prevExports = null;
42
+ if ((_b = (_a = module.hot) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.prevExports) {
43
+ prevExports = module.hot.data.prevExports;
44
+ }
45
+ // This cannot happen in MainTemplate because the exports mismatch between
46
+ // templating and execution.
47
+ // @ts-expect-error
48
+ self.$RefreshHelpers$.registerExportsForReactRefresh(currentExports, module.id);
49
+ // A module can be accepted automatically based on its exports, e.g. when
50
+ // it is a Refresh Boundary.
51
+ // @ts-expect-error
52
+ if (self.$RefreshHelpers$.isReactRefreshBoundary(currentExports)) {
53
+ // Save the previous exports on update so we can compare the boundary
54
+ // signatures.
55
+ // @ts-expect-errors
56
+ module.hot.dispose((data) => {
57
+ data.prevExports = currentExports;
58
+ });
59
+ // Unconditionally accept an update to this module, we'll check if it's
60
+ // still a Refresh Boundary later.
61
+ // @ts-expect-errors
62
+ module.hot.accept();
63
+ // This field is set when the previous version of this module was a
64
+ // Refresh Boundary, letting us know we need to check for invalidation or
65
+ // enqueue an update.
66
+ if (prevExports !== null) {
67
+ // A boundary can become ineligible if its exports are incompatible
68
+ // with the previous exports.
69
+ //
70
+ // For example, if you add/remove/change exports, we'll want to
71
+ // re-execute the importing modules, and force those components to
72
+ // re-render. Similarly, if you convert a class component to a
73
+ // function, we want to invalidate the boundary.
74
+ if (
75
+ // @ts-expect-error
76
+ self.$RefreshHelpers$.shouldInvalidateReactRefreshBoundary(prevExports, currentExports)) {
77
+ // @ts-expect-errors
78
+ module.hot.invalidate();
79
+ }
80
+ else {
81
+ // @ts-expect-errors
82
+ self.$RefreshHelpers$.scheduleUpdate();
83
+ }
84
+ }
85
+ }
86
+ else {
87
+ // Since we just executed the code for the module, it's possible that the
88
+ // new exports made it ineligible for being a boundary.
89
+ // We only care about the case when we were _previously_ a boundary,
90
+ // because we already accepted this update (accidental side effect).
91
+ const isNoLongerABoundary = prevExports !== null;
92
+ if (isNoLongerABoundary) {
93
+ // @ts-expect-errors
94
+ module.hot.invalidate();
95
+ }
96
+ }
97
+ }
98
+ }
99
+ let refreshModuleRuntime = RefreshModuleRuntime.toString();
100
+ refreshModuleRuntime = refreshModuleRuntime.slice(refreshModuleRuntime.indexOf('{') + 1, refreshModuleRuntime.lastIndexOf('}'));
101
+ // eslint-disable-next-line func-names
102
+ module.exports = function ReactRefreshLoader(source, inputSourceMap) {
103
+ // @ts-expect-error
104
+ this.callback(null, `${source}\n\n;${refreshModuleRuntime}`, inputSourceMap);
105
+ };
106
+ //# sourceMappingURL=loader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loader.js","sourceRoot":"","sources":["../../src/fast-refresh/loader.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,4EAA4E;AAC5E,EAAE;AACF,uFAAuF;AAEvF,+EAA+E;AAC/E,4CAA4C;AAC5C,SAAS,oBAAoB;;IA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GAAG,CAAC,UAAU,EAAE,CAAC;iBACxB;qBAAM;oBACN,oBAAoB;oBACpB,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,CAAC;iBACvC;aACD;SACD;aAAM;YACN,yEAAyE;YACzE,uDAAuD;YACvD,oEAAoE;YACpE,oEAAoE;YACpE,MAAM,mBAAmB,GAAG,WAAW,KAAK,IAAI,CAAC;YACjD,IAAI,mBAAmB,EAAE;gBACxB,oBAAoB;gBACpB,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC;aACxB;SACD;KACD;AACF,CAAC;AAED,IAAI,oBAAoB,GAAG,oBAAoB,CAAC,QAAQ,EAAE,CAAC;AAC3D,oBAAoB,GAAG,oBAAoB,CAAC,KAAK,CAChD,oBAAoB,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EACrC,oBAAoB,CAAC,WAAW,CAAC,GAAG,CAAC,CACrC,CAAC;AACF,sCAAsC;AACtC,MAAM,CAAC,OAAO,GAAG,SAAS,kBAAkB,CAAC,MAAW,EAAE,cAAmB;IAC5E,mBAAmB;IACnB,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,GAAG,MAAM,QAAQ,oBAAoB,EAAE,EAAE,cAAc,CAAC,CAAC;AAC9E,CAAC,CAAC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * The MIT License (MIT)
3
+ *
4
+ * Copyright (c) 2020 Vercel, Inc.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ */
24
+ declare const RefreshRuntime: any;
25
+ declare const RefreshHelpers: any;
26
+ //# sourceMappingURL=runtime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../src/fast-refresh/runtime.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAMH,QAAA,MAAM,cAAc,KAAmC,CAAC;AACxD,QAAA,MAAM,cAAc,KAAuB,CAAC"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /**
3
+ * The MIT License (MIT)
4
+ *
5
+ * Copyright (c) 2020 Vercel, Inc.
6
+ *
7
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ * of this software and associated documentation files (the "Software"), to deal
9
+ * in the Software without restriction, including without limitation the rights
10
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ * copies of the Software, and to permit persons to whom the Software is
12
+ * furnished to do so, subject to the following conditions:
13
+ *
14
+ * The above copyright notice and this permission notice shall be included in all
15
+ * copies or substantial portions of the Software.
16
+ *
17
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ * SOFTWARE.
24
+ */
25
+ // This file is copied from the @vercel/next.js, with removed TS annotations
26
+ //
27
+ // https://github.com/vercel/next.js/blob/canary/packages/react-refresh-utils/runtime.ts
28
+ const RefreshRuntime = require('react-refresh/runtime');
29
+ const RefreshHelpers = require('./helpers');
30
+ // Hook into ReactDOM initialization
31
+ RefreshRuntime.injectIntoGlobalHook(self);
32
+ // noop fns to prevent runtime errors during initialization
33
+ self.$RefreshReg$ = () => { };
34
+ self.$RefreshSig$ = () => (type) => type;
35
+ // Register global helpers
36
+ self.$RefreshHelpers$ = RefreshHelpers;
37
+ // Register a helper for module execution interception
38
+ self.$RefreshInterceptModuleExecution$ = function (webpackModuleId) {
39
+ const prevRefreshReg = self.$RefreshReg$;
40
+ const prevRefreshSig = self.$RefreshSig$;
41
+ self.$RefreshReg$ = (type, id) => {
42
+ RefreshRuntime.register(type, webpackModuleId + ' ' + id);
43
+ };
44
+ self.$RefreshSig$ = RefreshRuntime.createSignatureFunctionForTransform;
45
+ // Modeled after `useEffect` cleanup pattern:
46
+ // https://reactjs.org/docs/hooks-effect.html#effects-with-cleanup
47
+ return () => {
48
+ self.$RefreshReg$ = prevRefreshReg;
49
+ self.$RefreshSig$ = prevRefreshSig;
50
+ };
51
+ };
52
+ //# sourceMappingURL=runtime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/fast-refresh/runtime.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,4EAA4E;AAC5E,EAAE;AACF,wFAAwF;AAExF,MAAM,cAAc,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;AACxD,MAAM,cAAc,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;AAE5C,oCAAoC;AACpC,cAAc,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;AAE1C,2DAA2D;AAC3D,IAAI,CAAC,YAAY,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;AAC7B,IAAI,CAAC,YAAY,GAAG,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC;AAEzC,0BAA0B;AAC1B,IAAI,CAAC,gBAAgB,GAAG,cAAc,CAAC;AAEvC,sDAAsD;AACtD,IAAI,CAAC,iCAAiC,GAAG,UAAU,eAAe;IACjE,MAAM,cAAc,GAAG,IAAI,CAAC,YAAY,CAAC;IACzC,MAAM,cAAc,GAAG,IAAI,CAAC,YAAY,CAAC;IAEzC,IAAI,CAAC,YAAY,GAAG,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE;QAChC,cAAc,CAAC,QAAQ,CAAC,IAAI,EAAE,eAAe,GAAG,GAAG,GAAG,EAAE,CAAC,CAAC;IAC3D,CAAC,CAAC;IAEF,IAAI,CAAC,YAAY,GAAG,cAAc,CAAC,mCAAmC,CAAC;IAEvE,6CAA6C;IAC7C,kEAAkE;IAClE,OAAO,GAAG,EAAE;QACX,IAAI,CAAC,YAAY,GAAG,cAAc,CAAC;QACnC,IAAI,CAAC,YAAY,GAAG,cAAc,CAAC;IACpC,CAAC,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const AvailableCompositions: React.FC;
3
+ export declare const Homepage: React.FC;
4
+ //# sourceMappingURL=homepage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"homepage.d.ts","sourceRoot":"","sources":["../../src/homepage/homepage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAuB9D,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAgDzC,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAsC5B,CAAC"}
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Homepage = exports.AvailableCompositions = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const react_1 = require("react");
6
+ const remotion_1 = require("remotion");
7
+ const container = {
8
+ width: 800,
9
+ margin: 'auto',
10
+ paddingLeft: 20,
11
+ paddingRight: 20,
12
+ fontFamily: 'sans-serif',
13
+ lineHeight: 1.5,
14
+ };
15
+ const pre = {
16
+ display: 'block',
17
+ backgroundColor: '#f7f7f7',
18
+ whiteSpace: 'nowrap',
19
+ padding: 16,
20
+ fontFamily: 'monospace',
21
+ borderRadius: 5,
22
+ fontSize: 15,
23
+ overflowX: 'auto',
24
+ };
25
+ const AvailableCompositions = () => {
26
+ const [comps, setComps] = (0, react_1.useState)(null);
27
+ (0, react_1.useEffect)(() => {
28
+ let timeout = null;
29
+ const check = () => {
30
+ if (window.ready === true) {
31
+ setComps(window.getStaticCompositions());
32
+ }
33
+ else {
34
+ timeout = setTimeout(check, 250);
35
+ }
36
+ };
37
+ check();
38
+ return () => {
39
+ if (!timeout) {
40
+ return;
41
+ }
42
+ clearTimeout(timeout);
43
+ };
44
+ }, []);
45
+ const showComps = (0, react_1.useCallback)(() => {
46
+ window.location.search = '?evaluation=true';
47
+ }, []);
48
+ if (!remotion_1.Internals.getIsEvaluation()) {
49
+ return ((0, jsx_runtime_1.jsx)("button", Object.assign({ type: "button", onClick: showComps }, { children: "Click here to see a list of available compositions." }), void 0));
50
+ }
51
+ return ((0, jsx_runtime_1.jsxs)("div", { children: [comps === null ? (0, jsx_runtime_1.jsx)("p", { children: "Loading compositions..." }, void 0) : null, (0, jsx_runtime_1.jsx)("ul", { children: comps === null
52
+ ? null
53
+ : comps.map((c) => {
54
+ return (0, jsx_runtime_1.jsx)("li", { children: c.id }, c.id);
55
+ }) }, void 0)] }, void 0));
56
+ };
57
+ exports.AvailableCompositions = AvailableCompositions;
58
+ const Homepage = () => {
59
+ const url = window.location.origin + window.location.pathname;
60
+ return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ style: container }, { children: [(0, jsx_runtime_1.jsx)("h1", { children: "Remotion Bundle" }, void 0), "This is a website which contains a bundled Remotion video. You can render videos based on this URL.", (0, jsx_runtime_1.jsx)("h2", { children: "Available compositions" }, void 0), (0, jsx_runtime_1.jsx)(exports.AvailableCompositions, {}, void 0), (0, jsx_runtime_1.jsx)("h2", { children: "How to render" }, void 0), "Locally: ", (0, jsx_runtime_1.jsx)("br", {}, void 0), (0, jsx_runtime_1.jsx)("br", {}, void 0), (0, jsx_runtime_1.jsxs)("div", Object.assign({ style: pre }, { children: ["npx remotion render ", url, " ", '<comp-name> <output-location>'] }), void 0), (0, jsx_runtime_1.jsx)("br", {}, void 0), (0, jsx_runtime_1.jsx)("br", {}, void 0), "With Remotion Lambda: ", (0, jsx_runtime_1.jsx)("br", {}, void 0), (0, jsx_runtime_1.jsx)("br", {}, void 0), (0, jsx_runtime_1.jsxs)("div", Object.assign({ style: pre }, { children: ["npx remotion lambda render ", url, " ", '<comp-name>'] }), void 0), (0, jsx_runtime_1.jsx)("br", {}, void 0), (0, jsx_runtime_1.jsxs)("p", { children: ["You can also render still images, and use the Node.JS APIs", ' ', (0, jsx_runtime_1.jsx)("code", { children: "getCompositions()" }, void 0), ", ", (0, jsx_runtime_1.jsx)("code", { children: "renderMedia()" }, void 0), ",", ' ', (0, jsx_runtime_1.jsx)("code", { children: "renderMediaOnLambda()" }, void 0), ", ", (0, jsx_runtime_1.jsx)("code", { children: "renderStill()" }, void 0), " and", ' ', (0, jsx_runtime_1.jsx)("code", { children: "renderStillOnLambda()" }, void 0), " with this URL."] }, void 0), (0, jsx_runtime_1.jsxs)("p", { children: ["Visit", ' ', (0, jsx_runtime_1.jsx)("a", Object.assign({ href: "https://remotion.dev/docs", target: "_blank" }, { children: "remotion.dev/docs" }), void 0), ' ', "to read the documentation."] }, void 0)] }), void 0));
61
+ };
62
+ exports.Homepage = Homepage;
63
+ //# sourceMappingURL=homepage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"homepage.js","sourceRoot":"","sources":["../../src/homepage/homepage.tsx"],"names":[],"mappings":";;;;AAAA,iCAA8D;AAC9D,uCAAkD;AAElD,MAAM,SAAS,GAAwB;IACtC,KAAK,EAAE,GAAG;IACV,MAAM,EAAE,MAAM;IACd,WAAW,EAAE,EAAE;IACf,YAAY,EAAE,EAAE;IAChB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,GAAG;CACf,CAAC;AAEF,MAAM,GAAG,GAAwB;IAChC,OAAO,EAAE,OAAO;IAChB,eAAe,EAAE,SAAS;IAC1B,UAAU,EAAE,QAAQ;IACpB,OAAO,EAAE,EAAE;IACX,UAAU,EAAE,WAAW;IACvB,YAAY,EAAE,CAAC;IACf,QAAQ,EAAE,EAAE;IACZ,SAAS,EAAE,MAAM;CACjB,CAAC;AAEK,MAAM,qBAAqB,GAAa,GAAG,EAAE;IACnD,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,EAAyB,IAAI,CAAC,CAAC;IAEjE,IAAA,iBAAS,EAAC,GAAG,EAAE;QACd,IAAI,OAAO,GAA0B,IAAI,CAAC;QAC1C,MAAM,KAAK,GAAG,GAAG,EAAE;YAClB,IAAI,MAAM,CAAC,KAAK,KAAK,IAAI,EAAE;gBAC1B,QAAQ,CAAC,MAAM,CAAC,qBAAqB,EAAE,CAAC,CAAC;aACzC;iBAAM;gBACN,OAAO,GAAG,UAAU,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;aACjC;QACF,CAAC,CAAC;QAEF,KAAK,EAAE,CAAC;QAER,OAAO,GAAG,EAAE;YACX,IAAI,CAAC,OAAO,EAAE;gBACb,OAAO;aACP;YAED,YAAY,CAAC,OAAO,CAAC,CAAC;QACvB,CAAC,CAAC;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,S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6EAAkC,+BAC/B,EACJ,mDACO,GAAG,EACT,4CAAG,IAAI,EAAC,2BAA2B,EAAC,MAAM,EAAC,QAAQ,+CAE/C,EAAC,GAAG,0CAEL,aACC,CACN,CAAC;AACH,CAAC,CAAC;AAtCW,QAAA,QAAQ,YAsCnB"}
@@ -0,0 +1,28 @@
1
+ import webpack from 'webpack';
2
+ import type ws from 'ws';
3
+ export declare class WebpackHotMiddleware {
4
+ eventStream: EventStream;
5
+ latestStats: webpack.Stats | null;
6
+ clientLatestStats: webpack.Stats | null;
7
+ closed: boolean;
8
+ serverError: boolean;
9
+ constructor(compilers: webpack.Compiler[]);
10
+ onServerInvalid: () => void;
11
+ onClientInvalid: () => void;
12
+ onServerDone: (statsResult: webpack.Stats) => void;
13
+ onClientDone: (statsResult: webpack.Stats) => void;
14
+ onHMR: (client: ws) => void;
15
+ publishStats: (action: string, statsResult: webpack.Stats) => void;
16
+ publish: (payload: any) => void;
17
+ close: () => void;
18
+ }
19
+ declare class EventStream {
20
+ clients: Set<ws>;
21
+ constructor();
22
+ everyClient(fn: (client: ws) => void): void;
23
+ close(): void;
24
+ handler(client: ws): void;
25
+ publish(payload: any): void;
26
+ }
27
+ export {};
28
+ //# sourceMappingURL=hot-middleware.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hot-middleware.d.ts","sourceRoot":"","sources":["../src/hot-middleware.ts"],"names":[],"mappings":"AAuBA,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AAEzB,qBAAa,oBAAoB;IAChC,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,EAAE,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAClC,iBAAiB,EAAE,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IACxC,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,OAAO,CAAC;gBAET,SAAS,EAAE,OAAO,CAAC,QAAQ,EAAE;IAoBzC,eAAe,aASb;IAEF,eAAe,aAIb;IAEF,YAAY,gBAAiB,QAAQ,KAAK,UAWxC;IAEF,YAAY,gBAAiB,QAAQ,KAAK,UAOxC;IAEF,KAAK,WAAY,EAAE,UAQjB;IAEF,YAAY,WAAY,MAAM,eAAe,QAAQ,KAAK,UAcxD;IAEF,OAAO,YAAa,GAAG,UAGrB;IAEF,KAAK,aAMH;CACF;AAED,cAAM,WAAW;IAChB,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;;IAKjB,WAAW,CAAC,EAAE,EAAE,CAAC,MAAM,EAAE,EAAE,KAAK,IAAI;IAMpC,KAAK;IAOL,OAAO,CAAC,MAAM,EAAE,EAAE;IAOlB,OAAO,CAAC,OAAO,EAAE,GAAG;CAKpB"}
@@ -0,0 +1,119 @@
1
+ "use strict";
2
+ // Based on https://github.com/webpack-contrib/webpack-hot-middleware/blob/9708d781ae0e46179cf8ea1a94719de4679aaf53/middleware.js
3
+ // Included License below
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.WebpackHotMiddleware = void 0;
6
+ class WebpackHotMiddleware {
7
+ constructor(compilers) {
8
+ this.onServerInvalid = () => {
9
+ if (!this.serverError)
10
+ return;
11
+ this.serverError = false;
12
+ if (this.clientLatestStats) {
13
+ this.latestStats = this.clientLatestStats;
14
+ this.publishStats('built', this.latestStats);
15
+ }
16
+ };
17
+ this.onClientInvalid = () => {
18
+ if (this.closed || this.serverError)
19
+ return;
20
+ this.latestStats = null;
21
+ this.eventStream.publish({ action: 'building' });
22
+ };
23
+ this.onServerDone = (statsResult) => {
24
+ if (this.closed)
25
+ return;
26
+ // Keep hold of latest stats so they can be propagated to new clients
27
+ // this.latestStats = statsResult
28
+ // this.publishStats('built', this.latestStats)
29
+ this.serverError = statsResult.hasErrors();
30
+ if (this.serverError) {
31
+ this.latestStats = statsResult;
32
+ this.publishStats('built', this.latestStats);
33
+ }
34
+ };
35
+ this.onClientDone = (statsResult) => {
36
+ this.clientLatestStats = statsResult;
37
+ if (this.closed || this.serverError)
38
+ return;
39
+ // Keep hold of latest stats so they can be propagated to new clients
40
+ this.latestStats = statsResult;
41
+ this.publishStats('built', this.latestStats);
42
+ };
43
+ this.onHMR = (client) => {
44
+ if (this.closed)
45
+ return;
46
+ this.eventStream.handler(client);
47
+ if (this.latestStats) {
48
+ // Explicitly not passing in `log` fn as we don't want to log again on
49
+ // the server
50
+ this.publishStats('sync', this.latestStats);
51
+ }
52
+ };
53
+ this.publishStats = (action, statsResult) => {
54
+ const stats = statsResult.toJson({
55
+ all: false,
56
+ hash: true,
57
+ warnings: true,
58
+ errors: true,
59
+ });
60
+ this.eventStream.publish({
61
+ action,
62
+ hash: stats.hash,
63
+ warnings: stats.warnings || [],
64
+ errors: stats.errors || [],
65
+ });
66
+ };
67
+ this.publish = (payload) => {
68
+ if (this.closed)
69
+ return;
70
+ this.eventStream.publish(payload);
71
+ };
72
+ this.close = () => {
73
+ if (this.closed)
74
+ return;
75
+ // Can't remove compiler plugins, so we just set a flag and noop if closed
76
+ // https://github.com/webpack/tapable/issues/32#issuecomment-350644466
77
+ this.closed = true;
78
+ this.eventStream.close();
79
+ };
80
+ this.eventStream = new EventStream();
81
+ this.latestStats = null;
82
+ this.clientLatestStats = null;
83
+ this.serverError = false;
84
+ this.closed = false;
85
+ compilers[0].hooks.invalid.tap('webpack-hot-middleware', this.onClientInvalid);
86
+ compilers[0].hooks.done.tap('webpack-hot-middleware', this.onClientDone);
87
+ compilers[1].hooks.invalid.tap('webpack-hot-middleware', this.onServerInvalid);
88
+ compilers[1].hooks.done.tap('webpack-hot-middleware', this.onServerDone);
89
+ }
90
+ }
91
+ exports.WebpackHotMiddleware = WebpackHotMiddleware;
92
+ class EventStream {
93
+ constructor() {
94
+ this.clients = new Set();
95
+ }
96
+ everyClient(fn) {
97
+ for (const client of this.clients) {
98
+ fn(client);
99
+ }
100
+ }
101
+ close() {
102
+ this.everyClient((client) => {
103
+ client.close();
104
+ });
105
+ this.clients.clear();
106
+ }
107
+ handler(client) {
108
+ this.clients.add(client);
109
+ client.addEventListener('close', () => {
110
+ this.clients.delete(client);
111
+ });
112
+ }
113
+ publish(payload) {
114
+ this.everyClient((client) => {
115
+ client.send(JSON.stringify(payload));
116
+ });
117
+ }
118
+ }
119
+ //# sourceMappingURL=hot-middleware.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hot-middleware.js","sourceRoot":"","sources":["../src/hot-middleware.ts"],"names":[],"mappings":";AAAA,iIAAiI;AACjI,yBAAyB;;;AAyBzB,MAAa,oBAAoB;IAOhC,YAAY,SAA6B;QAoBzC,oBAAe,GAAG,GAAG,EAAE;YACtB,IAAI,CAAC,IAAI,CAAC,WAAW;gBAAE,OAAO;YAE9B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;YAEzB,IAAI,IAAI,CAAC,iBAAiB,EAAE;gBAC3B,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,iBAAiB,CAAC;gBAC1C,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;aAC7C;QACF,CAAC,CAAC;QAEF,oBAAe,GAAG,GAAG,EAAE;YACtB,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,WAAW;gBAAE,OAAO;YAC5C,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;YACxB,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,EAAC,MAAM,EAAE,UAAU,EAAC,CAAC,CAAC;QAChD,CAAC,CAAC;QAEF,iBAAY,GAAG,CAAC,WAA0B,EAAE,EAAE;YAC7C,IAAI,IAAI,CAAC,MAAM;gBAAE,OAAO;YACxB,qEAAqE;YACrE,iCAAiC;YACjC,+CAA+C;YAC/C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC,SAAS,EAAE,CAAC;YAE3C,IAAI,IAAI,CAAC,WAAW,EAAE;gBACrB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;gBAC/B,IAAI,CAAC,YAAY,CAA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AC;IAED,KAAK;QACJ,IAAI,CAAC,WAAW,CAAC,CAAC,MAAM,EAAE,EAAE;YAC3B,MAAM,CAAC,KAAK,EAAE,CAAC;QAChB,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IACtB,CAAC;IAED,OAAO,CAAC,MAAU;QACjB,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QACzB,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,GAAG,EAAE;YACrC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAC7B,CAAC,CAAC,CAAC;IACJ,CAAC;IAED,OAAO,CAAC,OAAY;QACnB,IAAI,CAAC,WAAW,CAAC,CAAC,MAAM,EAAE,EAAE;YAC3B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC;IACJ,CAAC;CACD"}
package/dist/index.d.ts CHANGED
@@ -11,6 +11,7 @@ export declare const BundlerInternals: {
11
11
  cacheExists: (environment: "development" | "production", inputProps: object | null) => boolean;
12
12
  clearCache: (environment: "development" | "production", inputProps: object | null) => Promise<void>;
13
13
  };
14
+ export type { ProjectInfo } from './project-info';
14
15
  export { bundle } from './bundler';
15
16
  export { overrideWebpackConfig };
16
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,qBAAqB,EAAC,MAAM,oBAAoB,CAAC;AAIzD,eAAO,MAAM,gBAAgB;;;;;;;;;;;CAI5B,CAAC;AAEF,OAAO,EAAC,MAAM,EAAC,MAAM,WAAW,CAAC;AACjC,OAAO,EAAC,qBAAqB,EAAC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,qBAAqB,EAAC,MAAM,oBAAoB,CAAC;AAIzD,eAAO,MAAM,gBAAgB;;;;;;;;;;;CAI5B,CAAC;AAEF,YAAY,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAEhD,OAAO,EAAC,MAAM,EAAC,MAAM,WAAW,CAAC;AACjC,OAAO,EAAC,qBAAqB,EAAC,CAAC"}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,yDAAyD;AAWjD,sGAXA,wCAAqB,OAWA;AAV7B,iDAA2C;AAC3C,mDAAwD;AAE3C,QAAA,gBAAgB,GAAG;IAC/B,WAAW,EAAX,0BAAW;IACX,WAAW,EAAX,2BAAW;IACX,UAAU,EAAV,0BAAU;CACV,CAAC;AAEF,qCAAiC;AAAzB,iGAAA,MAAM,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,yDAAyD;AAajD,sGAbA,wCAAqB,OAaA;AAZ7B,iDAA2C;AAC3C,mDAAwD;AAE3C,QAAA,gBAAgB,GAAG;IAC/B,WAAW,EAAX,0BAAW;IACX,WAAW,EAAX,2BAAW;IACX,UAAU,EAAV,0BAAU;CACV,CAAC;AAIF,qCAAiC;AAAzB,iGAAA,MAAM,OAAA"}
@@ -4,6 +4,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
4
4
  const react_1 = require("react");
5
5
  const react_dom_1 = require("react-dom");
6
6
  const remotion_1 = require("remotion");
7
+ const homepage_1 = require("./homepage/homepage");
7
8
  remotion_1.Internals.CSSUtils.injectCSS(remotion_1.Internals.CSSUtils.makeDefaultCSS(null));
8
9
  const Root = remotion_1.Internals.getRoot();
9
10
  if (!Root) {
@@ -63,6 +64,9 @@ const GetVideo = () => {
63
64
  } }, { children: Component ? ((0, jsx_runtime_1.jsx)(Component, Object.assign({}, ((_a = video === null || video === void 0 ? void 0 : video.props) !== null && _a !== void 0 ? _a : {}), inputProps), void 0)) : null }), void 0) }), void 0));
64
65
  };
65
66
  if (!remotion_1.Internals.isPlainIndex()) {
66
- (0, react_dom_1.render)((0, jsx_runtime_1.jsxs)(remotion_1.Internals.RemotionRoot, { children: [(0, jsx_runtime_1.jsx)(Root, {}, void 0), (0, jsx_runtime_1.jsx)(GetVideo, {}, void 0)] }, void 0), document.getElementById('container'));
67
+ (0, react_dom_1.render)((0, jsx_runtime_1.jsxs)(remotion_1.Internals.RemotionRoot, { children: [(0, jsx_runtime_1.jsx)(Root, {}, void 0), (0, jsx_runtime_1.jsx)(GetVideo, {}, void 0)] }, void 0), document.getElementById('video-container'));
68
+ }
69
+ if (remotion_1.Internals.isPlainIndex() || remotion_1.Internals.getIsEvaluation()) {
70
+ (0, react_dom_1.render)((0, jsx_runtime_1.jsx)(homepage_1.Homepage, {}, void 0), document.getElementById('explainer-container'));
67
71
  }
68
72
  //# sourceMappingURL=renderEntry.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderEntry.js","sourceRoot":"","sources":["../src/renderEntry.tsx"],"names":[],"mappings":";;;AAAA,iCAMe;AACf,yCAAiC;AACjC,uCAOkB;AAElB,oBAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,oBAAS,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC;AAEtE,MAAM,IAAI,GAAG,oBAAS,CAAC,OAAO,EAAE,CAAC;AAEjC,IAAI,CAAC,IAAI,EAAE;IACV,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;CACjD;AAED,MAAM,MAAM,GAAG,IAAA,sBAAW,GAAE,CAAC;AAE7B,MAAM,QAAQ,GAAa,GAAG,EAAE;IAC/B,IAAA,iBAAS,EAAC,GAAG,EAAE;QACd,MAAM,QAAQ,GAAG,IAAA,sBAAW,GAAE,CAAC;QAC/B,OAAO,GAAG,EAAE,CAAC,IAAA,yBAAc,EAAC,QAAQ,CAAC,CA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,CAAC,IAAI,YACH,YACI,CACX,CAAC;AACH,CAAC,CAAC;AAEF,IAAI,CAAC,oBAAS,CAAC,YAAY,EAAE,EAAE;IAC9B,IAAA,kBAAM,EACL,wBAAC,oBAAS,CAAC,YAAY,eACtB,uBAAC,IAAI,aAAG,EACR,uBAAC,QAAQ,aAAG,YACY,EACzB,QAAQ,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAC1C,CAAC;CACF;AAED,IAAI,oBAAS,CAAC,YAAY,EAAE,IAAI,oBAAS,CAAC,eAAe,EAAE,EAAE;IAC5D,IAAA,kBAAM,EAAC,uBAAC,mBAAQ,aAAG,EAAE,QAAQ,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAC,CAAC;CACrE"}
@@ -0,0 +1,2 @@
1
+ export declare const indexHtml: (staticHash: string) => string;
2
+ //# sourceMappingURL=static-preview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-preview.d.ts","sourceRoot":"","sources":["../src/static-preview.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,eAAgB,MAAM,WAuBpC,CAAC"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.indexHtml = void 0;
4
+ const indexHtml = (staticHash) => `
5
+ <!DOCTYPE html>
6
+ <html lang="en">
7
+ <head>
8
+ <meta charset="UTF-8" />
9
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
10
+ <link rel="preconnect" href="https://fonts.gstatic.com" />
11
+ <link rel="icon" type="image/png" href="/favicon.png" />
12
+ <title>Remotion Preview</title>
13
+ </head>
14
+ <body>
15
+ <script>window.remotion_staticBase = "${staticHash}";</script>
16
+ <div id="container"></div>
17
+ <div id="menuportal-0"></div>
18
+ <div id="menuportal-1"></div>
19
+ <div id="menuportal-2"></div>
20
+ <div id="menuportal-3"></div>
21
+ <div id="menuportal-4"></div>
22
+ <div id="menuportal-5"></div>
23
+ <script src="/bundle.js"></script>
24
+ </body>
25
+ </html>
26
+ `.trim();
27
+ exports.indexHtml = indexHtml;
28
+ //# sourceMappingURL=static-preview.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-preview.js","sourceRoot":"","sources":["../src/static-preview.ts"],"names":[],"mappings":";;;AAAO,MAAM,SAAS,GAAG,CAAC,UAAkB,EAAE,EAAE,CAC/C;;;;;;;;;;;4CAW2C,UAAU;;;;;;;;;;;CAWrD,CAAC,IAAI,EAAE,CAAC;AAvBI,QAAA,SAAS,aAuBb"}
@@ -1 +1 @@
1
- {"version":3,"file":"webpack-config.d.ts","sourceRoot":"","sources":["../src/webpack-config.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,oBAAoB,EAAE,iBAAiB,EAAC,MAAM,UAAU,CAAC;AAY5E,eAAO,MAAM,aAAa;WAalB,MAAM;0BACS,MAAM;YACpB,MAAM;iBACD,aAAa,GAAG,YAAY;;4BAElB,MAAM,KAAK,IAAI;;;;;uBAKnB,MAAM;MACtB,oBA6JH,CAAC"}
1
+ {"version":3,"file":"webpack-config.d.ts","sourceRoot":"","sources":["../src/webpack-config.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,oBAAoB,EAAE,iBAAiB,EAAC,MAAM,UAAU,CAAC;AAY5E,eAAO,MAAM,aAAa;WAalB,MAAM;0BACS,MAAM;YACpB,MAAM;iBACD,aAAa,GAAG,YAAY;;4BAElB,MAAM,KAAK,IAAI;;;;;uBAKnB,MAAM;MACtB,oBA0KH,CAAC"}
@@ -44,13 +44,17 @@ const webpackConfig = ({ entry, userDefinedComponent, outDir, environment, webpa
44
44
  entries: false,
45
45
  },
46
46
  },
47
+ watchOptions: {
48
+ aggregateTimeout: 0,
49
+ ignored: ['**/.git/**', '**/node_modules/**'],
50
+ },
47
51
  cache: enableCaching
48
52
  ? {
49
53
  type: 'filesystem',
50
54
  name: (0, webpack_cache_1.getWebpackCacheName)(environment, inputProps !== null && inputProps !== void 0 ? inputProps : {}),
51
55
  }
52
56
  : false,
53
- devtool: 'cheap-module-source-map',
57
+ devtool: environment === 'development' ? 'eval' : 'cheap-module-source-map',
54
58
  entry: [
55
59
  require.resolve('./setup-environment'),
56
60
  environment === 'development'
@@ -83,6 +87,7 @@ const webpackConfig = ({ entry, userDefinedComponent, outDir, environment, webpa
83
87
  }),
84
88
  ],
85
89
  output: {
90
+ hashFunction: 'xxhash64',
86
91
  globalObject: 'this',
87
92
  filename: 'bundle.js',
88
93
  path: outDir,
@@ -115,6 +120,8 @@ const webpackConfig = ({ entry, userDefinedComponent, outDir, environment, webpa
115
120
  {
116
121
  loader: require.resolve('file-loader'),
117
122
  options: {
123
+ // default md4 not available in node17
124
+ hashType: 'md5',
118
125
  // So you can do require('hi.png')
119
126
  // instead of require('hi.png').default
120
127
  esModule: false,
@@ -124,7 +131,7 @@ const webpackConfig = ({ entry, userDefinedComponent, outDir, environment, webpa
124
131
  if (environment === 'development') {
125
132
  return '[path][name].[ext]';
126
133
  }
127
- return '[contenthash].[ext]';
134
+ return '[md5:contenthash].[ext]';
128
135
  },
129
136
  },
130
137
  },
@@ -153,6 +160,7 @@ const webpackConfig = ({ entry, userDefinedComponent, outDir, environment, webpa
153
160
  {
154
161
  loader: require.resolve('file-loader'),
155
162
  options: {
163
+ // default md4 not available in node17
156
164
  name: '[name].[ext]',
157
165
  outputPath: 'fonts/',
158
166
  },
@@ -177,8 +185,14 @@ const webpackConfig = ({ entry, userDefinedComponent, outDir, environment, webpa
177
185
  : null,
178
186
  ].filter(truthy),
179
187
  },
188
+ {
189
+ test: /\.js$/,
190
+ enforce: 'pre',
191
+ use: [require.resolve('source-map-loader')],
192
+ },
180
193
  ],
181
194
  },
195
+ ignoreWarnings: [/Failed to parse source map/],
182
196
  });
183
197
  };
184
198
  exports.webpackConfig = webpackConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"webpack-config.js","sourceRoot":"","sources":["../src/webpack-config.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAwB;AACxB,uC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AO,CAAC,OAAO,CAAC,aAAa,CAAC;4BACtC,OAAO,EAAE;gCACR,IAAI,EAAE,cAAc;gCACpB,UAAU,EAAE,QAAQ;6BACpB;yBACD;qBACD;iBACD;gBACD;oBACC,IAAI,EAAE,SAAS;oBACf,OAAO,EAAE,cAAc;oBACvB,GAAG,EAAE;wBACJ;4BACC,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC;4BACzC,OAAO,EAAE;gCACR,MAAM,EAAE,KAAK;gCACb,MAAM,EAAE,UAAU;6BAClB;yBACD;wBACD,WAAW,KAAK,aAAa;4BAC5B,CAAC,CAAC;gCACA,MAAM,EAAE,OAAO,CAAC,OAAO,CACtB,6CAA6C,CAC7C;6BACA;4BACH,CAAC,CAAC,IAAI;qBACP,CAAC,MAAM,CAAC,MAAM,CAAC;iBAChB;aACD;SACD;KACD,CAAC,CAAC;AACJ,CAAC,CAAC;AArLW,QAAA,aAAa,iBAqLxB"}
1
+ {"version":3,"file":"webpack-config.js","sourceRoot":"","sources":["../src/webpack-config.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAwB;AACxB,uCAA4E;AAC5E,mDAAgD;AAChD,mDAAoD;AAEpD,MAAM,kBAAkB,GAAG,OAAO,CAAC,iDAAiD,CAAC,CAAC;AACtF,MAAM,kBAAkB,GAAG,OAAO,CAAC,mCAAmC,CAAC,CAAC;AAGxE,SAAS,MAAM,CAAI,KAAQ;IAC1B,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AAEM,MAAM,aAAa,GAAG,CAAC,EAC7B,KAAK,EACL,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,eAAe,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAC1B,gBAAgB,EAChB,aAAa,GAAG,oBAAS,CAAC,6BAA6B,EACvD,UAAU,EACV,YAAY,EACZ,UAAU,EACV,iBAAiB,GAajB,EAAwB,EAAE;IAC1B,OAAO,e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