Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Error parsing bundle asset "C:\Projects\re\dist\apps\cart\remoteEntry.js": Cannot use 'import.meta' outside a module (1:2374)#591

Unanswered
ko22009 asked this question inQ&A
Discussion options

Is it normal that in console.log after run webpack-bundle-analyzer, I see error:
Error parsing bundle asset "C:\Projects\re\dist\apps\cart\remoteEntry.js": Cannot use 'import.meta' outside a module (1:2374)

I create app with module federation. In my webpack config I have:
output: {
scriptType: 'module'
}

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@ko22009
Converted from issue

This discussion was converted from issue #590 on March 15, 2023 10:58.


[8]ページ先頭

©2009-2025 Movatter.jp