Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

[BUG] webIndex.embedIndexedBundles has no effect #1977

Open
3cp opened this issue Jan 25, 2021 · 0 comments
Open

[BUG] webIndex.embedIndexedBundles has no effect #1977

3cp opened this issue Jan 25, 2021 · 0 comments

Comments

@3cp
Copy link

3cp commented Jan 25, 2021

I am trying to use webIndex.embedIndexedBundles to embed js into html file, but it didn't work even in the example of this repo.

embedIndexedBundles: true,

The playground/sass example didn't respect embedIndexedBundles setting.

Dev mode output:

<!DOCTYPE html>
<html>
  <head>
    <title></title>
    
  </head>

  <body>
    <div id="root"></div>
    <script type="text/javascript" src="/app.js"></script>
  </body>
</html>

Prod mode output:

<!DOCTYPE html>
<html>
  <head>
    <title></title>
    <link href="/styles/styles.037aae1f.css" rel="stylesheet"/>
  </head>

  <body>
    <div id="root"></div>
    <script type="text/javascript" src="/app.037aae1f.js"></script>
  </body>
</html>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants