Explorar el Código

update script tag for plugins

Yuki Takei hace 3 años
padre
commit
04dacd53eb
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      packages/app/src/pages/_document.page.tsx

+ 2 - 1
packages/app/src/pages/_document.page.tsx

@@ -43,7 +43,8 @@ class GrowiDocument extends Document<GrowiDocumentProps> {
           {renderScriptTagsByGroup('basis')}
           {renderStyleTagsByGroup('basis')}
           */}
-          <script type="module" src={`/plugins/weseek/growi-plugin-jstest/dist/${pluginsManifest['growi-plugin-jstest']['index.html'].file}`} />
+          {/* eslint-disable-next-line @next/next/no-sync-scripts */}
+          <script type="module" src={`/plugins/weseek/growi-plugin-jstest/dist/${pluginsManifest['growi-plugin-jstest']['client-entry.tsx'].file}`} />
         </Head>
         <body>
           <Main />