Skip to content

Commit 39940f3

Browse files
committed
fix(esm): fix global script for esm
1 parent 307dff0 commit 39940f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compiler/app/app-global-scripts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export function generateGlobalJs(config: Config, globalJsContents: string) {
177177
export function generateGlobalEsm(config: Config, globalJsContents: string) {
178178
const output = [
179179
generatePreamble(config) + '\n',
180-
`export default function appGlobal(namespace, Context, window, document, resourcesUrl, hydratedCssClass) {`,
180+
`export default function appGlobal(n, x, w, d, r, h) {`,
181181
globalJsContents,
182182
`\n}`
183183
].join('');

0 commit comments

Comments
 (0)